1
1
mirror of https://github.com/Yvee1/hascard.git synced 2024-11-22 04:33:06 +03:00

Final ghr fix for mac

This commit is contained in:
Steven van den Broek 2021-07-18 21:19:24 +02:00
parent 4701f3c558
commit 038a5bb6e2

View File

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