From 023d61eb23e32dd5ef89f7a7cd4abd95afc9f139 Mon Sep 17 00:00:00 2001 From: Gabriel Jones Date: Tue, 30 May 2023 21:09:10 -0400 Subject: Update user_install_script.sh testing regex --- gui/user_install_script.sh | 9 +++------ 1 file 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 ( -- cgit v1.2.3