Updated install.sh

Fixed systemctl command
This commit is contained in:
Ethan Smith-Coss 2024-10-09 18:04:19 +01:00
parent f061f37b9a
commit f9391030c5
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -33,7 +33,8 @@ sudo chown root:root "${HYPRSOLUS_PATH}/hyprsolusctl"
sudo cp -ru "${HYPRSOLUS_PATH}/systemd" "$HYPRSOLUS_SYSTEMD" sudo cp -ru "${HYPRSOLUS_PATH}/systemd" "$HYPRSOLUS_SYSTEMD"
echo "(hyprsolus) Setting up systemd units." echo "(hyprsolus) Setting up systemd units."
systemctl enable --now --user "${HYPRSOLUS_SYSTEMD}/hyprsolus-check.timer" systemctl --user -M "$USER"@ enable --now \
"${HYPRSOLUS_SYSTEMD}/hyprsolus-check.timer"
echo "(hyprsolus) Installing the dependencies to system." echo "(hyprsolus) Installing the dependencies to system."
sudo sh "${HYPRSOLUS_PATH}/requirements.sh" sudo sh "${HYPRSOLUS_PATH}/requirements.sh"