mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 20:25:49 +00:00
Update install.sh
This commit is contained in:
parent
40ec19556d
commit
14b72b4d6c
1 changed files with 2 additions and 2 deletions
|
|
@ -181,7 +181,7 @@ detectCustom() {
|
||||||
if [ -n "$CUSTOM" ]; then
|
if [ -n "$CUSTOM" ]; then
|
||||||
local size
|
local size
|
||||||
size="$(stat -c%s "$STORAGE/$CUSTOM")"
|
size="$(stat -c%s "$STORAGE/$CUSTOM")"
|
||||||
local file="windows_$size.iso"
|
local file="windows.$size.iso"
|
||||||
[ -f "$STORAGE/$file" ] && CUSTOM="$file"
|
[ -f "$STORAGE/$file" ] && CUSTOM="$file"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -935,7 +935,7 @@ fi
|
||||||
|
|
||||||
if ! rm -f "$ISO" 2> /dev/null; then
|
if ! rm -f "$ISO" 2> /dev/null; then
|
||||||
size="$(stat -c%s "$ISO")"
|
size="$(stat -c%s "$ISO")"
|
||||||
BASE="windows_$size.iso"
|
BASE="windows.$size.iso"
|
||||||
ISO="$STORAGE/$BASE"
|
ISO="$STORAGE/$BASE"
|
||||||
rm -f "$ISO"
|
rm -f "$ISO"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue