summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrainDoctor <11465594+TrainDoctor@users.noreply.github.com>2023-05-30 17:28:26 -0700
committerGitHub <noreply@github.com>2023-05-30 17:28:26 -0700
commit12af151d007b670922b9a6c4b9e1b10437dbbea3 (patch)
tree22622882eaddcf26cd37ea0a0b7e112ca1dde521
parent1fea755775a4562cab25524e55839c336f366c23 (diff)
downloaddecky-installer-TrainDoctor-patch-1.tar.gz
decky-installer-TrainDoctor-patch-1.zip
Update user_install_script.shTrainDoctor-patch-1
-rw-r--r--gui/user_install_script.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh
index 5441984..8c75b4e 100644
--- a/gui/user_install_script.sh
+++ b/gui/user_install_script.sh
@@ -121,10 +121,10 @@ fi
# otherwise install decky loader
-if [[ "$OPTION" == "release" || "$OPTION" == "update to release" ]]; then
+if [[ "$OPTION" =~ "^release$" ]]; then
BRANCH="release"
fi
-if [[ "$OPTION" == "prerelease" || "$OPTION" == "update to prerelease" ]]; then
+if [[ "$OPTION" =~ "^prerelease$" ]]; then
BRANCH="prerelease"
fi