diff options
Diffstat (limited to 'dist/install_release.sh')
| -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..." |
