From: AJ ONeal Date: Fri, 19 Nov 2021 09:51:57 +0000 (+0000) Subject: refactor!: alias git-config-gpg to old location git-gpg-init X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=75b064a121d420c51c76f909b5c7678fdfdf8616;p=webi-installers%2F.git refactor!: alias git-config-gpg to old location git-gpg-init --- diff --git a/git-gpg-init/install.ps1 b/git-gpg-init/install.ps1 new file mode 100644 index 0000000..075a61b --- /dev/null +++ b/git-gpg-init/install.ps1 @@ -0,0 +1,5 @@ +#!/bin/pwsh + +echo "'git-gpg-init@$Env:WEBI_TAG' is an alias for 'git-config-gpg@$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/git-config-gpg@$Env:WEBI_VERSION" | powershell diff --git a/git-gpg-init/install.sh b/git-gpg-init/install.sh new file mode 100644 index 0000000..be869b6 --- /dev/null +++ b/git-gpg-init/install.sh @@ -0,0 +1,10 @@ +# title: git-gpg-init (git-config-gpg alias) +# homepage: https://webinstall.dev/git-config-gpg +# tagline: Alias for https://webinstall.dev/git-config-gpg +# alias: git-config-gpg +# description: | +# See https://webinstall.dev/git-config-gpg + +echo "'git-gpg-init' is a deprecated alias for 'git-config-gpg'" +WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"} +curl -fsSL "$WEBI_HOST/git-config-gpg" | bash