diff --git a/install.sh b/install.sh index b49f6ef..530ea75 100644 --- a/install.sh +++ b/install.sh @@ -29,6 +29,7 @@ exit_code=$? chown -R "$user:$user" "$HYPRSOLUS_PATH" echo "(hyprsolus) Moving additional scripts to system." +[[ ! -d "$HYPRSOLUSCTL_PATH" ]] && mkdir -p "$HYPRSOLUSCTL_PATH" cp -u "${HYPRSOLUS_PATH}/hyprsolusctl" "$HYPRSOLUSCTL_PATH" # Make the file executable chmod +x "${HYPRSOLUS_PATH}/hyprsolusctl"