Browse Source

overlay: support replacing not-empty directories on file injection

user/chris/test/arm
Alejandro Mery 14 years ago
parent
commit
fff6aaa751
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      lib/overlay/overlay-functions.in

+ 1
- 3
lib/overlay/overlay-functions.in

@ -75,10 +75,8 @@ overlay_apply() {
:
elif [ ! -d "$xtarget/" ]; then
rm -f "$xtarget"
elif [ "$type" = rm ]; then
rm -rf "$xtarget"
else
rmdir "$xtarget"
rm -rf "$xtarget"
fi
fi

Loading…
Cancel
Save