Fixed install script root access

This commit is contained in:
WerWolv
2022-04-13 22:19:48 +02:00
committed by GitHub
parent f685eeb420
commit c084abecfc
+1 -4
View File
@@ -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 nightly..."