nm-quick netmaker edition upgrade fix (#2440)

nm-quick netmaker edition upgrade fix.
This commit is contained in:
Farukh Khan 2023-07-13 10:54:25 +08:00 committed by GitHub
parent dd7e553472
commit a40271d0e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,7 @@ while getopts evab:d:t: flag; do
case "${flag}" in
e)
INSTALL_TYPE="ee"
UPGRADE_FLAG="yes"
;;
v)
usage
@ -880,6 +881,9 @@ print_logo
if [ -f "$CONFIG_PATH" ]; then
echo "Using config: $CONFIG_PATH"
source "$CONFIG_PATH"
if [ "$UPGRADE_FLAG" = "yes" ]; then
INSTALL_TYPE="ee"
fi
fi
# 2. setup the build instructions