From 4576fed01baac066a8550018a0922739cc2f8985 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 13 Apr 2022 23:18:58 +0200 Subject: Properly delete old user plugin loader service on install --- dist/install_nightly.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dist/install_nightly.sh') diff --git a/dist/install_nightly.sh b/dist/install_nightly.sh index 2189bf2a..b48c833c 100644 --- a/dist/install_nightly.sh +++ b/dist/install_nightly.sh @@ -20,9 +20,14 @@ cp /tmp/plugin_loader/PluginLoader ${HOMEBREW_FOLDER}/services/PluginLoader rm -rf /tmp/plugin_loader 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 disable plugin_loader 2> /dev/null rm -f /etc/systemd/system/plugin_loader.service + cat > /etc/systemd/system/plugin_loader.service <<- EOM [Unit] Description=SteamDeck Plugin Loader -- cgit v1.2.3