Updated install.sh
Added check to mkdir if /usr/local/bin does not already exist.
This commit is contained in:
parent
29d87242e4
commit
efe62cff3d
|
|
@ -29,6 +29,7 @@ exit_code=$?
|
||||||
chown -R "$user:$user" "$HYPRSOLUS_PATH"
|
chown -R "$user:$user" "$HYPRSOLUS_PATH"
|
||||||
|
|
||||||
echo "(hyprsolus) Moving additional scripts to system."
|
echo "(hyprsolus) Moving additional scripts to system."
|
||||||
|
[[ ! -d "$HYPRSOLUSCTL_PATH" ]] && mkdir -p "$HYPRSOLUSCTL_PATH"
|
||||||
cp -u "${HYPRSOLUS_PATH}/hyprsolusctl" "$HYPRSOLUSCTL_PATH"
|
cp -u "${HYPRSOLUS_PATH}/hyprsolusctl" "$HYPRSOLUSCTL_PATH"
|
||||||
# Make the file executable
|
# Make the file executable
|
||||||
chmod +x "${HYPRSOLUS_PATH}/hyprsolusctl"
|
chmod +x "${HYPRSOLUS_PATH}/hyprsolusctl"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user