summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Jones <ggppjj@gmail.com>2023-05-30 21:09:10 -0400
committerGitHub <noreply@github.com>2023-05-30 21:09:10 -0400
commit023d61eb23e32dd5ef89f7a7cd4abd95afc9f139 (patch)
treeb60fe2456405f129f3d5ed3c8cb9601411f68250
parent4669b2818b35e47456bc5df628e8c9e5dd5bbe2b (diff)
downloaddecky-installer-023d61eb23e32dd5ef89f7a7cd4abd95afc9f139.tar.gz
decky-installer-023d61eb23e32dd5ef89f7a7cd4abd95afc9f139.zip
Update user_install_script.sh
testing regex
-rw-r--r--gui/user_install_script.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh
index 316ad20..b155a00 100644
--- a/gui/user_install_script.sh
+++ b/gui/user_install_script.sh
@@ -119,13 +119,10 @@ if [[ "$OPTION" == "uninstall decky loader" || "$OPTION" == "wipe decky loader"
exit 1
fi
-# otherwise install decky loader
-
-if [[ "$OPTION" == "release" || "$OPTION" == "update to latest release" ]]; then
- BRANCH="release"
-fi
-if [[ "$OPTION" == "prerelease" || "$OPTION" == "update to latest prerelease" ]]; then
+if [[ "$OPTION" ~= "pre" ]]; then
BRANCH="prerelease"
+else
+ BRANCH="release"
fi
(