浏览代码

fix: Remove unnecessary operation (#1534)

Kroese 1 周之前
父节点
当前提交
11a19f6a9d
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/install.sh

+ 0 - 1
src/install.sh

@@ -135,7 +135,6 @@ startInstall() {
     if [[ "${VERSION,,}" == "http"* ]]; then
 
       file=$(basename "${VERSION%%\?*}")
-      file="${file//+/ }"
       printf -v file '%b' "${file//%/\\x}"
       file="${file//[!A-Za-z0-9._-]/_}"