fix: Remove unnecessary operation (#1534)

This commit is contained in:
Kroese 2025-10-24 04:33:47 +02:00 committed by GitHub
parent 544501107a
commit 11a19f6a9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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._-]/_}"