summaryrefslogtreecommitdiff
path: root/dist/install_release.sh
diff options
context:
space:
mode:
authorWerWolv <werwolv98@gmail.com>2022-04-21 18:03:05 +0200
committerGitHub <noreply@github.com>2022-04-21 18:03:05 +0200
commit4b2f8cd8f5f89cb171e8169dffc8f2e939a473c2 (patch)
tree7096a22caceb24754064abc9e218fd4f424d3133 /dist/install_release.sh
parent604006a7cb4ec90117b125c9e229e4e366c8ebb6 (diff)
downloaddecky-loader-4b2f8cd8f5f89cb171e8169dffc8f2e939a473c2.tar.gz
decky-loader-4b2f8cd8f5f89cb171e8169dffc8f2e939a473c2.zip
Make sure old user plugin loader is being removed
Diffstat (limited to 'dist/install_release.sh')
-rw-r--r--dist/install_release.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/install_release.sh b/dist/install_release.sh
index 114712f6..340b97c1 100644
--- a/dist/install_release.sh
+++ b/dist/install_release.sh
@@ -15,6 +15,9 @@ mkdir -p ${HOMEBREW_FOLDER}/plugins
curl -L https://github.com/SteamDeckHomebrew/PluginLoader/releases/latest/download/PluginLoader --output ${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
+
systemctl stop plugin_loader 2> /dev/null
systemctl disable plugin_loader 2> /dev/null
rm -f /etc/systemd/system/plugin_loader.service