mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 08:47:49 +00:00
Fixed install script root access
This commit is contained in:
Vendored
+2
-5
@@ -1,9 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ "$(whoami)" != "root" ]; then
|
[ "$UID" -eq 0 ] || exec sudo "$0" "$@"
|
||||||
su -c "$0 $*"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Installing Steam Deck Plugin Loader nightly..."
|
echo "Installing Steam Deck Plugin Loader nightly..."
|
||||||
|
|
||||||
@@ -45,4 +42,4 @@ WantedBy=multi-user.target
|
|||||||
EOM
|
EOM
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl start plugin_loader
|
systemctl start plugin_loader
|
||||||
systemctl enable plugin_loader
|
systemctl enable plugin_loader
|
||||||
|
|||||||
Reference in New Issue
Block a user