From fc71c84ec914aaac2bc34f78a997497197f75497 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 19 Sep 2020 09:02:20 +0000 Subject: [PATCH] add archiver as alias for arc --- archiver/install.ps1 | 5 +++++ archiver/install.sh | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 archiver/install.ps1 create mode 100644 archiver/install.sh 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 -- 2.25.1