mirror of
https://github.com/dockur/windows.git
synced 2025-10-26 01:52:50 +00:00
Update power.sh
This commit is contained in:
parent
f42b65f52f
commit
600ae228a6
@ -105,7 +105,9 @@ finish() {
|
||||
if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$BOOT" ]; then
|
||||
# Remove CD-ROM ISO after install
|
||||
if ready; then
|
||||
touch "$STORAGE/windows.boot"
|
||||
local file="$STORAGE/windows.boot"
|
||||
touch "$file"
|
||||
! setOwner "$file" && error "Failed to set the owner for \"$file\" !"
|
||||
if [[ "$REMOVE" != [Nn]* ]]; then
|
||||
rm -f "$BOOT" 2>/dev/null || true
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user