mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 16:57:50 +00:00
Properly delete old user plugin loader service on install
This commit is contained in:
Vendored
+5
@@ -20,9 +20,14 @@ cp /tmp/plugin_loader/PluginLoader ${HOMEBREW_FOLDER}/services/PluginLoader
|
|||||||
rm -rf /tmp/plugin_loader
|
rm -rf /tmp/plugin_loader
|
||||||
chmod +x ${HOMEBREW_FOLDER}/services/PluginLoader
|
chmod +x ${HOMEBREW_FOLDER}/services/PluginLoader
|
||||||
|
|
||||||
|
systemctl --user stop plugin_loader 2> /dev/null
|
||||||
|
systemctl --user disable plugin_loader 2> /dev/null
|
||||||
|
rm -f /home/deck/.config/systemd/user/plugin_loader.service
|
||||||
|
|
||||||
systemctl stop plugin_loader 2> /dev/null
|
systemctl stop plugin_loader 2> /dev/null
|
||||||
systemctl disable plugin_loader 2> /dev/null
|
systemctl disable plugin_loader 2> /dev/null
|
||||||
rm -f /etc/systemd/system/plugin_loader.service
|
rm -f /etc/systemd/system/plugin_loader.service
|
||||||
|
|
||||||
cat > /etc/systemd/system/plugin_loader.service <<- EOM
|
cat > /etc/systemd/system/plugin_loader.service <<- EOM
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=SteamDeck Plugin Loader
|
Description=SteamDeck Plugin Loader
|
||||||
|
|||||||
Reference in New Issue
Block a user