mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
chore: alias 'trip' (command name) as 'trippy' (package name)
This commit is contained in:
11
trippy/README.md
Normal file
11
trippy/README.md
Normal file
@@ -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
|
||||
5
trippy/install.ps1
Normal file
5
trippy/install.ps1
Normal file
@@ -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
|
||||
11
trippy/install.sh
Normal file
11
trippy/install.sh
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user