mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-11 08:03:26 +03:00
Fixed install script root access
This commit is contained in:
7
dist/install_nightly.sh
vendored
7
dist/install_nightly.sh
vendored
@@ -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..."
|
||||
|
||||
@@ -45,4 +42,4 @@ WantedBy=multi-user.target
|
||||
EOM
|
||||
systemctl daemon-reload
|
||||
systemctl start plugin_loader
|
||||
systemctl enable plugin_loader
|
||||
systemctl enable plugin_loader
|
||||
|
||||
Reference in New Issue
Block a user