From f7ec32d70f7ed17d422fc11435a2f4b0a61079e8 Mon Sep 17 00:00:00 2001 From: Yaspee <34875338+Yaspee@users.noreply.github.com> Date: Sat, 7 Apr 2018 15:59:23 +0800 Subject: [PATCH] Update install-release.sh --- release/install-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/install-release.sh b/release/install-release.sh index 0d0d6958e..d67ed56b3 100755 --- a/release/install-release.sh +++ b/release/install-release.sh @@ -131,7 +131,7 @@ installSoftware(){ # return 1: not apt or yum getPMT(){ - if [ -n `command -v apt-get` ];then + if [[ -n `command -v apt-get` ]];then CMD_INSTALL="apt-get -y -qq install" CMD_UPDATE="apt-get -qq update" elif [[ -n `command -v yum` ]]; then