mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 20:25:49 +00:00
Update power.sh
This commit is contained in:
parent
c777beb001
commit
7a72e2f546
1 changed files with 2 additions and 2 deletions
|
|
@ -83,9 +83,9 @@ finish() {
|
||||||
|
|
||||||
if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$BOOT" ]; then
|
if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$BOOT" ]; then
|
||||||
# Remove CD-ROM ISO after install
|
# Remove CD-ROM ISO after install
|
||||||
if ready && [[ "$REMOVE" != [Nn]* ]]; then
|
if ready; then
|
||||||
rm -f "$BOOT" 2>/dev/null || true
|
|
||||||
touch "$STORAGE/windows.boot"
|
touch "$STORAGE/windows.boot"
|
||||||
|
[[ "$REMOVE" != [Nn]* ]] && rm -f "$BOOT" 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue