1
1
mirror of https://github.com/Yvee1/hascard.git synced 2024-11-25 09:54:43 +03:00
This commit is contained in:
Steven van den Broek 2021-07-18 21:24:55 +02:00
parent 038a5bb6e2
commit 371a231e4a

View File

@ -18,11 +18,12 @@ else
else else
ARCH="darwin" ARCH="darwin"
URL="https://github.com/tcnksm/ghr/releases/download/v0.14.0/ghr_v0.14.0_${ARCH}_amd64.zip" URL="https://github.com/tcnksm/ghr/releases/download/v0.14.0/ghr_v0.14.0_${ARCH}_amd64.zip"
curl -L ${URL} > ghr-dir.zip curl -L ${URL} > ghr.zip
unzip ghr-dir.zip unzip ghr.zip
mv ghr-dir/ghr "$HOME/.local/bin/" GHR_DIR="ghr_v0.14.0_${ARCH}_amd64"
rm ghr-dir.zip mv GHR_DIR/ghr "$HOME/.local/bin/"
rm ghr-dir -r rm ghr.zip
rm GHR_DIR -r
fi fi
ls "$HOME/.local/bin/" ls "$HOME/.local/bin/"
fi fi