From da942a8dd5eba0f2f055865feffe6dea2ffb1dd4 Mon Sep 17 00:00:00 2001 From: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> Date: Sat, 18 Mar 2023 21:24:41 +0000 Subject: Update install_prerelease.sh --- cli/install_prerelease.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cli/install_prerelease.sh b/cli/install_prerelease.sh index 1713357..aae66dc 100644 --- a/cli/install_prerelease.sh +++ b/cli/install_prerelease.sh @@ -2,6 +2,14 @@ [ "$UID" -eq 0 ] || exec sudo "$0" "$@" +# check if JQ is installed +if ! command -v jq &> /dev/null +then + echo "JQ could not be found, please install it" + echo "Info on how to install it can be found at https://stedolan.github.io/jq/download/" + exit +fi + echo "Installing Steam Deck Plugin Loader pre-release..." USER_DIR="$(getent passwd $SUDO_USER | cut -d: -f6)" -- cgit v1.2.3