mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 04:05:50 +00:00
Update install.sh
This commit is contained in:
parent
6925567619
commit
31417a71a1
1 changed files with 3 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ startInstall() {
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ISO="$STORAGE/$file.iso"
|
ISO="$STORAGE/$file"
|
||||||
|
|
||||||
! migrateFiles "$ISO" "$VERSION" && error "Migration failed!" && exit 57
|
! migrateFiles "$ISO" "$VERSION" && error "Migration failed!" && exit 57
|
||||||
|
|
||||||
|
|
@ -451,8 +451,8 @@ removeDownload() {
|
||||||
|
|
||||||
[ ! -f "$iso" ] && return 0
|
[ ! -f "$iso" ] && return 0
|
||||||
[ -n "$CUSTOM" ] && return 0
|
[ -n "$CUSTOM" ] && return 0
|
||||||
|
! rm -f "$iso" 2> /dev/null && warn "failed to remove $iso !"
|
||||||
|
|
||||||
rm -f "$iso" 2> /dev/null || true
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -734,7 +734,7 @@ detectImage() {
|
||||||
local fallback="/run/assets/${DETECTED%%-*}.xml"
|
local fallback="/run/assets/${DETECTED%%-*}.xml"
|
||||||
|
|
||||||
setXML "$fallback" && warn "${msg}." && return 0
|
setXML "$fallback" && warn "${msg}." && return 0
|
||||||
|
|
||||||
warn "${msg}, $FB."
|
warn "${msg}, $FB."
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue