瀏覽代碼

脚本修改

陈精华 6 年之前
父節點
當前提交
b625381de3
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      jodconverter-web/src/main/script/install.sh

+ 2 - 2
jodconverter-web/src/main/script/install.sh

@@ -28,9 +28,9 @@ install_ubuntu() {
 
 
 if [ -f "/etc/redhat-release" ]; then
-  yum install wget
+  yum install -y wget
   install_redhat
 else
-  apt-get install wget
+  apt-get install -y wget
   install_ubuntu
 fi