Updated hyprsolusctl

This commit is contained in:
Ethan Smith-Coss 2024-10-09 17:20:07 +01:00
parent dab6392d04
commit bc22cc40e0
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -82,12 +82,14 @@ update () {
git fetch origin --all git fetch origin --all
git pull origin main git pull origin main
echo "(hyprsolus) Updating additional scripts if needed."
sudo cp -u "${HYPRSOLUS_PATH}/hyprsolusctl" "$HYPRSOLUSCTL_PATH"
sudo cp -ru "${HYPRSOLUS_PATH}/systemd" "$HOME/.config/systemd/"
systemctl --user daemon-reload
echo "(hyprsolus) Updating the dependencies if needed." echo "(hyprsolus) Updating the dependencies if needed."
sudo sh "${HYPRSOLUS_PATH}/requirements.sh" sudo sh "${HYPRSOLUS_PATH}/requirements.sh"
echo "(hyprsolus) Updating additional scripts if needed."
sudo cp -ru "${HYPRSOLUS_PATH}/systemd" "$HOME/.config/systemd/"
sudo cp -u "${HYPRSOLUS_PATH}/hyprsolusctl" "$HYPRSOLUSCTL_PATH" & disown
} }
upgrade () { upgrade () {