diff options
Diffstat (limited to 'gui/user_install_script.sh')
| -rw-r--r-- | gui/user_install_script.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh index 5441984..6a38379 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 release" ]]; then - BRANCH="release" -fi -if [[ "$OPTION" == "prerelease" || "$OPTION" == "update to prerelease" ]]; then +if [[ "$OPTION" =~ "pre" ]]; then BRANCH="prerelease" +else + BRANCH="release" fi ( |
