diff options
Diffstat (limited to 'cli/install_release.sh')
| -rw-r--r-- | cli/install_release.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/install_release.sh b/cli/install_release.sh index 54be30d..ba1a82f 100644 --- a/cli/install_release.sh +++ b/cli/install_release.sh @@ -10,6 +10,13 @@ then exit fi +# check if github.com is reachable +if ! curl -Is https://github.com | head -1 | grep 200 > /dev/null +then + echo "Github appears to be unreachable, you may not be connected to the internet" + exit 1 +fi + echo "Installing Steam Deck Plugin Loader release..." USER_DIR="$(getent passwd $SUDO_USER | cut -d: -f6)" |
