소스 검색

Update install-release.sh

Yaspee 7 년 전
부모
커밋
f7ec32d70f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      release/install-release.sh

+ 1 - 1
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