Update install-release.sh
parent
deb7dab8f3
commit
f7ec32d70f
|
|
@ -131,7 +131,7 @@ installSoftware(){
|
||||||
|
|
||||||
# return 1: not apt or yum
|
# return 1: not apt or yum
|
||||||
getPMT(){
|
getPMT(){
|
||||||
if [ -n `command -v apt-get` ];then
|
if [[ -n `command -v apt-get` ]];then
|
||||||
CMD_INSTALL="apt-get -y -qq install"
|
CMD_INSTALL="apt-get -y -qq install"
|
||||||
CMD_UPDATE="apt-get -qq update"
|
CMD_UPDATE="apt-get -qq update"
|
||||||
elif [[ -n `command -v yum` ]]; then
|
elif [[ -n `command -v yum` ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue