diff --git a/trippy/README.md b/trippy/README.md new file mode 100644 index 0000000..28aaa9b --- /dev/null +++ b/trippy/README.md @@ -0,0 +1,11 @@ +--- +title: trippy (trip alias) +homepage: https://webinstall.dev/trip +tagline: | + Alias for https://webinstall.dev/trip +alias: trip +description: | + See https://webinstall.dev/trip +--- + +Alias for https://webinstall.dev/trip diff --git a/trippy/install.ps1 b/trippy/install.ps1 new file mode 100644 index 0000000..a60305c --- /dev/null +++ b/trippy/install.ps1 @@ -0,0 +1,5 @@ +#!/bin/pwsh + +Write-Output "'trippy@$Env:WEBI_TAG' is an alias for 'trip@$Env:WEBI_VERSION'" +IF ($null -eq $Env:WEBI_HOST -or $Env:WEBI_HOST -eq "") { $Env:WEBI_HOST = "https://webinstall.dev" } +curl.exe -fsSL "$Env:WEBI_HOST/trip@$Env:WEBI_VERSION" | powershell diff --git a/trippy/install.sh b/trippy/install.sh new file mode 100644 index 0000000..ac3592b --- /dev/null +++ b/trippy/install.sh @@ -0,0 +1,11 @@ +#!/bin/sh +set -e +set -u + +__redirect_alias_trip() { + echo "'trippy@${WEBI_TAG:-stable}' is an alias for 'trip@${WEBI_VERSION-}'" + WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"} + curl -fsSL "$WEBI_HOST/trip@${WEBI_VERSION-}" | sh +} + +__redirect_alias_trip