浏览代码

feat: overwrite the extracted porter binary (#4039)

jose-fully-ported 2 年之前
父节点
当前提交
d7f47f8b77
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/cli_install_script_container/install.sh

+ 1 - 1
services/cli_install_script_container/install.sh

@@ -16,7 +16,7 @@ download_and_install() {
     echo "[INFO] Please make sure /usr/local/bin is included in your PATH."
     echo "[INFO] Please make sure /usr/local/bin is included in your PATH."
 
 
     curl -L https://github.com/porter-dev/porter/releases/download/{{ .TagName }}/porter_{{ .TagName }}_${osname}_x86_64.zip --output porter.zip
     curl -L https://github.com/porter-dev/porter/releases/download/{{ .TagName }}/porter_{{ .TagName }}_${osname}_x86_64.zip --output porter.zip
-    unzip -a porter.zip
+    unzip -o -a porter.zip
     rm porter.zip
     rm porter.zip
 
 
     chmod +x ./porter
     chmod +x ./porter