Update install.sh

This commit is contained in:
Kroese 2024-05-10 02:28:28 +02:00 committed by GitHub
parent f3198d396f
commit 0ae9c64bbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -916,8 +916,8 @@ updateImage() {
warn "failed to remove answer file ($file) from ISO image!" warn "failed to remove answer file ($file) from ISO image!"
fi fi
if ! wimlib-imagex update "$loc" "$index" --command "rename /$file.org /$file" > /dev/null; then if wimlib-imagex update "$loc" "$index" --command "rename /$file.org /$file" >/dev/null 2>&1; then
warn "failed to rename answer file ($file.org) in ISO image." warn "renamed answer file ($file.org) in ISO image."
fi fi
fi fi