From efe62cff3d45824c2bd51d873950d1e31a2934a1 Mon Sep 17 00:00:00 2001 From: TheOnePath Date: Sun, 17 Nov 2024 11:30:12 +0000 Subject: [PATCH] Updated install.sh Added check to mkdir if /usr/local/bin does not already exist. --- install.sh | 1 + 1 file changed, 1 insertion(+) 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"