From 17740d066589cdc61167c46c83ec22650f09c6af Mon Sep 17 00:00:00 2001 From: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> Date: Mon, 20 Mar 2023 22:14:24 +0000 Subject: Update install_release.sh --- cli/install_release.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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)" -- cgit v1.2.3