From: AJ ONeal Date: Sat, 19 Sep 2020 09:02:20 +0000 (+0000) Subject: add archiver as alias for arc X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=fc71c84ec914aaac2bc34f78a997497197f75497;p=webi-installers%2F.git add archiver as alias for arc --- diff --git a/archiver/install.ps1 b/archiver/install.ps1 new file mode 100644 index 0000000..9c30b1f --- /dev/null +++ b/archiver/install.ps1 @@ -0,0 +1,5 @@ +#!/bin/pwsh + +echo "'archiver@$Env:WEBI_TAG' is an alias for 'arc@$Env:WEBI_VERSION'" +IF ($Env:WEBI_HOST -eq $null -or $Env:WEBI_HOST -eq "") { $Env:WEBI_HOST = "https://webinstall.dev" } +curl.exe -fsSL "$Env:WEBI_HOST/arc@$Env:WEBI_VERSION" | powershell diff --git a/archiver/install.sh b/archiver/install.sh new file mode 100644 index 0000000..e5a5e72 --- /dev/null +++ b/archiver/install.sh @@ -0,0 +1,10 @@ +# title: Archiver (arc alias) +# homepage: https://webinstall.dev/arc +# tagline: Alias for https://webinstall.dev/arc +# alias: arc +# description: | +# See https://webinstall.dev/arc + +echo "'archiver@${WEBI_TAG:-stable}' is an alias for 'arc@${WEBI_VERSION:-}'" +WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"} +curl -fsSL "$WEBI_HOST/arc@${WEBI_VERSION:-}" | bash