Update install-release.sh

pull/1024/head
Yaspee 2018-04-07 15:59:23 +08:00 committed by GitHub
parent deb7dab8f3
commit f7ec32d70f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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