This commit is contained in:
@ -6,15 +6,15 @@ set -euo pipefail
|
||||
|
||||
echo "Installing whatsdirty"
|
||||
|
||||
if ! command -v dropshell-tool ; then
|
||||
if ! command -v getpkg ; then
|
||||
|
||||
ARCH=$(uname -m)
|
||||
wget "https://getbin.xyz/dropshell-tool:latest-${ARCH}" -O bootstrap && chmod a+x bootstrap
|
||||
./bootstrap install dropshell-tool
|
||||
wget "https://getbin.xyz/getpkg:latest-${ARCH}" -O bootstrap && chmod a+x bootstrap
|
||||
./bootstrap install getpkg
|
||||
rm ./bootstrap
|
||||
VERSION=$(dropshell-tool version)
|
||||
VERSION=$(getpkg version)
|
||||
echo "Dropshell tool $VERSION installed"
|
||||
|
||||
fi
|
||||
|
||||
dropshell-tool install whatsdirty
|
||||
getpkg install whatsdirty
|
||||
|
Reference in New Issue
Block a user