瀏覽代碼

sed nginx no #2009

Anton Reutov 4 年之前
父節點
當前提交
f3872ada4a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      install/vst-install-rhel.sh

+ 1 - 1
install/vst-install-rhel.sh

@@ -561,7 +561,7 @@ mv $VESTA/conf/* $vst_backups/vesta > /dev/null 2>&1
 
 # Excluding packages
 if [ "$nginx" = 'no'  ]; then
-    software=$(echo "$software" | sed -e "s/^nginx//")
+    software=$(echo "$software" | sed -e "s/ nginx/ /")
 fi
 if [ "$apache" = 'no' ]; then
     software=$(echo "$software" | sed -e "s/httpd//")