Group together with other apps, dont allow rerunning

This commit is contained in:
David Heinemeier Hansson 2024-06-04 13:14:40 -07:00
parent 4d37f8efd4
commit d7f5890fd5

View File

@ -1,4 +1,4 @@
if [ -n "$FORCE" ] || ! command -v gh &>/dev/null; then
if ! command -v gh &>/dev/null; then
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg &&
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg &&
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list >/dev/null &&