mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 03:45:48 +00:00
fix: Support read-only images
This commit is contained in:
parent
629db7e4a6
commit
66b82f139f
1 changed files with 3 additions and 2 deletions
|
|
@ -68,8 +68,9 @@ finish() {
|
|||
if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$STORAGE/$BASE" ]; then
|
||||
# Remove CD-ROM ISO after install
|
||||
if ready; then
|
||||
rm -f "$STORAGE/$BASE"
|
||||
touch "$STORAGE/windows.boot"
|
||||
if rm -f "$STORAGE/$BASE" 2>/dev/null; then
|
||||
touch "$STORAGE/windows.boot"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue