mirror of
https://github.com/dockur/windows.git
synced 2026-07-07 05:07:26 +01:00
feat: Improve installation robustness (#1807)
This commit is contained in:
+4
-1
@@ -539,7 +539,10 @@ getESD() {
|
||||
|
||||
if [[ "$file" == *".xml" ]]; then
|
||||
|
||||
mv -f "$dir/$file" "$dir/$xFile"
|
||||
if ! mv -f "$dir/$file" "$dir/$xFile"; then
|
||||
error "Failed to rename $file to $xFile."
|
||||
return 1
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user