diff options
| author | WerWolv <werwolv98@gmail.com> | 2022-04-21 17:46:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-21 17:46:53 +0200 |
| commit | 604006a7cb4ec90117b125c9e229e4e366c8ebb6 (patch) | |
| tree | 5eb39c05895409e60b65e7ae8b60d214a3ca2f3f /dist | |
| parent | 7aa4e9106a57b95014bc93a01adf6085f4a5329f (diff) | |
| download | decky-loader-604006a7cb4ec90117b125c9e229e4e366c8ebb6.tar.gz decky-loader-604006a7cb4ec90117b125c9e229e4e366c8ebb6.zip | |
Fixed root check
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/install_release.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dist/install_release.sh b/dist/install_release.sh index 270fba68..114712f6 100644 --- a/dist/install_release.sh +++ b/dist/install_release.sh @@ -1,9 +1,6 @@ #!/bin/sh -if [ "$(whoami)" != "root" ]; then - su -c "$0 $*" - exit -fi +[ "$UID" -eq 0 ] || exec sudo "$0" "$@" echo "Installing Steam Deck Plugin Loader release..." |
