Fixed root check

This commit is contained in:
WerWolv
2022-04-21 17:46:53 +02:00
committed by GitHub
parent 7aa4e9106a
commit 604006a7cb
+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 release..."