diff options
| author | Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> | 2023-03-18 21:25:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-18 21:25:12 +0000 |
| commit | c6eac24487c264942fd6ed3642da3fe271f1a59b (patch) | |
| tree | 1d24de7dae9a3ce4601ea91d4e17fa8ce5ad05a6 | |
| parent | da942a8dd5eba0f2f055865feffe6dea2ffb1dd4 (diff) | |
| download | decky-installer-c6eac24487c264942fd6ed3642da3fe271f1a59b.tar.gz decky-installer-c6eac24487c264942fd6ed3642da3fe271f1a59b.zip | |
Update install_release.sh
| -rw-r--r-- | cli/install_release.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/install_release.sh b/cli/install_release.sh index 71d2415..54be30d 100644 --- a/cli/install_release.sh +++ b/cli/install_release.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 release..." USER_DIR="$(getent passwd $SUDO_USER | cut -d: -f6)" |
