From 5e8bbc28680a3581aff8df3ee9fcaa0bb2429d98 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 24 Oct 2025 04:30:21 +0200 Subject: [PATCH] fix: Remove unnecessary operation (#1097) --- src/install.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index 0395adc..9f34199 100644 --- a/src/install.sh +++ b/src/install.sh @@ -31,7 +31,6 @@ if [ -n "$URL" ] && [ ! -s "$FILE" ] && [ ! -d "$DIR" ]; then BASE=$(basename "$URL" .pat) if [ ! -s "$STORAGE/$BASE.system.img" ]; then BASE=$(basename "${URL%%\?*}" .pat) - BASE="${BASE//+/ }" printf -v BASE '%b' "${BASE//%/\\x}" BASE="${BASE//[!A-Za-z0-9._-]/_}" fi @@ -66,7 +65,6 @@ fi if [ ! -s "$FILE" ]; then BASE=$(basename "${URL%%\?*}" .pat) - BASE="${BASE//+/ }" printf -v BASE '%b' "${BASE//%/\\x}" BASE="${BASE//[!A-Za-z0-9._-]/_}" fi