瀏覽代碼

Merge branch 'master' of https://github.com/v2ray/v2ray-core

Darien Raymond 7 年之前
父節點
當前提交
6f2d4c72cc
共有 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