Fix issue if folder wasn't yet there (fresh run)

merge-requests/16/head
Ben Wilson 4 years ago
parent fadc99ef88
commit db5e3cfd2d

@ -4,4 +4,8 @@ lb clean noauto "$@"
rm -f config/binary config/bootstrap \
config/chroot config/common config/source \
config/package-lists/live.list.chroot
find config/hooks/ -type l | xargs --no-run-if-empty rm -f
if [ -e config/hooks/ ]; then
find config/hooks/ -type l \
| xargs --no-run-if-empty rm -f
fi

Loading…
Cancel
Save