Fix Linux rollback handling

This commit is contained in:
jetfir3
2026-07-29 14:19:27 -04:00
parent 852acb2acb
commit f4b9f7d20f
+1 -1
View File
@@ -107,7 +107,7 @@ while getopts ':BcdefF:hilopP:SvV:-:' flag; do
noexp) excludeExp='true' ;; noexp) excludeExp='true' ;;
oldui) oldUi='true' ;; oldui) oldUi='true' ;;
premium) paidPremium='true' ;; premium) paidPremium='true' ;;
rollback) [[ "${platformType}" == "macOS" ]] && rollback='true'; installMac='true' ;; rollback) [[ "${platformType}" == "macOS" ]] && { rollback='true'; installMac='true'; } ;;
skipcodesign) [[ "${platformType}" == "macOS" ]] && skipCodesign='true' ;; skipcodesign) [[ "${platformType}" == "macOS" ]] && skipCodesign='true' ;;
stable) [[ "${platformType}" == "Linux" ]] && stableVar='true' ;; stable) [[ "${platformType}" == "Linux" ]] && stableVar='true' ;;
uninstall) uninstallSpotx='true' ;; uninstall) uninstallSpotx='true' ;;