Explorar el Código

Merge pull request #1024 from Yaspee/master

Update install-release.sh
DarienRaymond hace 7 años
padre
commit
8dd67e0e71
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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