diff --git a/scripts/composeroption.sh b/scripts/composeroption.sh index 70c3fbb8d8301c8c15c89643c9edd75f092fd6a0..69c851c7d40f6692db3f459b3607ef308165ef1a 100644 --- a/scripts/composeroption.sh +++ b/scripts/composeroption.sh @@ -1,5 +1,4 @@ function composeroption { - if [[ $build_option == $defaultinstall || $build_option == $nogessoinstall ]]; then if [ -f "$FILE" ]; then @@ -76,7 +75,7 @@ function composeroption { exit 0; - elif [ $build_option == updatecomposerinstall ]; then + elif [[ $build_option == $updatecomposerinstall ]]; then if [ -f "$FILE" ]; then echo "**************************************************************************************" diff --git a/scripts/getoptionsuser.sh b/scripts/getoptionsuser.sh index ef71fdce5c1ff8a05728cb09a8059be3bf6449c2..de3c59bae88d80db51633b80655b291ae8c03511 100644 --- a/scripts/getoptionsuser.sh +++ b/scripts/getoptionsuser.sh @@ -65,7 +65,7 @@ function getoptionsuser { exit 0;; esac - if [[ ! $build_option == 4 ]]; then + if [[ ! $build_option == $updatecomposerinstall ]]; then gesso_version=0