diff options
| author | WerWolv <werwolv98@gmail.com> | 2022-04-13 23:18:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-13 23:18:58 +0200 |
| commit | 4576fed01baac066a8550018a0922739cc2f8985 (patch) | |
| tree | 6e4dbc2a83486f62bc839b047fe427d9c13577c7 /dist | |
| parent | de435e22fb0f01df81b2781f38e5890dbbb728ba (diff) | |
| download | decky-loader-4576fed01baac066a8550018a0922739cc2f8985.tar.gz decky-loader-4576fed01baac066a8550018a0922739cc2f8985.zip | |
Properly delete old user plugin loader service on install
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/install_nightly.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
