Browse Source

fix #1141

pull/1162/merge
Darien Raymond 7 years ago
parent
commit
e7d3b282ae
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 5
      release/install-release.sh

5
release/install-release.sh

@ -137,7 +137,7 @@ installSoftware(){
return 0
}
# return 1: not apt or yum
# return 1: not apt, yum, or zypper
getPMT(){
if [[ -n `command -v apt-get` ]];then
CMD_INSTALL="apt-get -y -qq install"
@ -145,6 +145,9 @@ getPMT(){
elif [[ -n `command -v yum` ]]; then
CMD_INSTALL="yum -y -q install"
CMD_UPDATE="yum -q makecache"
elif [ -n `command -v zypper` ];then
CMD_INSTALL="zypper -y install"
CMD_UPDATE="zypper ref"
else
return 1
fi

Loading…
Cancel
Save