mirror of
https://github.com/dockur/windows.git
synced 2025-10-25 09:32:41 +00:00
fix: Remove unnecessary operation (#1534)
This commit is contained in:
parent
544501107a
commit
11a19f6a9d
@ -135,7 +135,6 @@ startInstall() {
|
|||||||
if [[ "${VERSION,,}" == "http"* ]]; then
|
if [[ "${VERSION,,}" == "http"* ]]; then
|
||||||
|
|
||||||
file=$(basename "${VERSION%%\?*}")
|
file=$(basename "${VERSION%%\?*}")
|
||||||
file="${file//+/ }"
|
|
||||||
printf -v file '%b' "${file//%/\\x}"
|
printf -v file '%b' "${file//%/\\x}"
|
||||||
file="${file//[!A-Za-z0-9._-]/_}"
|
file="${file//[!A-Za-z0-9._-]/_}"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user