mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
fix: Strip query parameters from filename
This commit is contained in:
parent
3f3a3332ed
commit
8b93ea2fb5
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,8 @@ if [ ! -f "$STORAGE/custom.iso" ]; then
|
||||||
else
|
else
|
||||||
|
|
||||||
BASE=$(basename "$VERSION")
|
BASE=$(basename "$VERSION")
|
||||||
|
BASE="${BASE%%\?*}"
|
||||||
|
|
||||||
if [ ! -f "$STORAGE/$BASE" ]; then
|
if [ ! -f "$STORAGE/$BASE" ]; then
|
||||||
MSG="Please wait while '$BASE' is being downloaded..."
|
MSG="Please wait while '$BASE' is being downloaded..."
|
||||||
fi
|
fi
|
||||||
|
|
@ -78,6 +80,7 @@ if [[ "$EXTERNAL" != [Yy1]* ]]; then
|
||||||
else
|
else
|
||||||
|
|
||||||
BASE=$(basename "$VERSION")
|
BASE=$(basename "$VERSION")
|
||||||
|
BASE="${BASE%%\?*}"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue