summaryrefslogtreecommitdiff
path: root/dist/install_nightly.sh
diff options
context:
space:
mode:
authorWerWolv <werwolv98@gmail.com>2022-04-07 01:17:22 +0200
committerGitHub <noreply@github.com>2022-04-07 01:17:22 +0200
commit3a39c88144aca9a38103d176b891ca486609db89 (patch)
treed74d8ff752aa95b224a2476ea85e150977f6f594 /dist/install_nightly.sh
parent8c0bb20d052f97f9b6201d66aa7c4de52e1a57ba (diff)
downloaddecky-loader-3a39c88144aca9a38103d176b891ca486609db89.tar.gz
decky-loader-3a39c88144aca9a38103d176b891ca486609db89.zip
Prevent errors from being printed on first install
Diffstat (limited to 'dist/install_nightly.sh')
-rw-r--r--dist/install_nightly.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/dist/install_nightly.sh b/dist/install_nightly.sh
index 26384e03..a03a26cb 100644
--- a/dist/install_nightly.sh
+++ b/dist/install_nightly.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+echo "Installing Steam Deck Plugin Loader nightly..."
+
HOMEBREW_FOLDER=/home/deck/homebrew
# Create folder structure
@@ -16,8 +18,8 @@ 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
-systemctl --user disable plugin_loader
+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
cat > /home/deck/.config/systemd/user/plugin_loader.service <<- EOM
[Unit]