From b6de82910328cc0bd69dea52323c6fccc1308af2 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Tue, 24 Mar 2020 02:08:35 +0800 Subject: [PATCH] Correct the wrong variable again --- install-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-release.sh b/install-release.sh index c68c2a7..462127f 100644 --- a/install-release.sh +++ b/install-release.sh @@ -152,8 +152,8 @@ installSoftware() { PACKAGE_MANAGEMENT_INSTALL='zypper install' ;; esac - "$PACKAGE_MANAGEMENT_UPDATE" - "$PACKAGE_MANAGEMENT_INSTALL" "$COMPONENT--" + ${PACKAGE_MANAGEMENT_UPDATE} + ${PACKAGE_MANAGEMENT_INSTALL} "$COMPONENT--" if [[ "$?" -ne '0' ]]; then echo "error: Installation of $COMPONENT failed, please check your network." exit 1