Updated install.sh
This commit is contained in:
parent
f174b489ee
commit
1e7fa6205b
|
|
@ -5,7 +5,7 @@ home="/home/$user"
|
||||||
|
|
||||||
HYPRSOLUS_PATH="/usr/src/hyprsolus"
|
HYPRSOLUS_PATH="/usr/src/hyprsolus"
|
||||||
HYPRSOLUSCTL_PATH="/usr/local/bin"
|
HYPRSOLUSCTL_PATH="/usr/local/bin"
|
||||||
HYPRSOLUS_SYSTEMD="$home/.config/systemd/user"
|
HYPRSOLUS_SYSTEMD="$home/.config"
|
||||||
|
|
||||||
if [[ $(id -u) -ne 0 ]]
|
if [[ $(id -u) -ne 0 ]]
|
||||||
then
|
then
|
||||||
|
|
@ -38,7 +38,7 @@ chown root:root "${HYPRSOLUS_PATH}/hyprsolusctl"
|
||||||
cp -ru "${HYPRSOLUS_PATH}/systemd" "$HYPRSOLUS_SYSTEMD"
|
cp -ru "${HYPRSOLUS_PATH}/systemd" "$HYPRSOLUS_SYSTEMD"
|
||||||
echo "(hyprsolus) Setting up systemd units."
|
echo "(hyprsolus) Setting up systemd units."
|
||||||
systemctl --user -M "$user"@ enable --now \
|
systemctl --user -M "$user"@ enable --now \
|
||||||
"${HYPRSOLUS_SYSTEMD}/hyprsolus-check.timer"
|
"${HYPRSOLUS_SYSTEMD}/systemd/user/hyprsolus-check.timer"
|
||||||
|
|
||||||
echo "(hyprsolus) Installing the dependencies to system."
|
echo "(hyprsolus) Installing the dependencies to system."
|
||||||
sh "${HYPRSOLUS_PATH}/requirements.sh"
|
sh "${HYPRSOLUS_PATH}/requirements.sh"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user