Simplyfing clean option in lb config.

This commit is contained in:
Daniel Baumann 2012-09-30 15:13:42 +02:00
parent f735d984cf
commit efe7090bdb
1 changed files with 2 additions and 3 deletions

View File

@ -1492,11 +1492,10 @@ Check_defaults
if [ "${_CLEAN}" = "true" ]
then
# Remove empty directories in config tree
rmdir --ignore-fail-on-non-empty auto > /dev/null 2>&1 || true
rmdir --ignore-fail-on-non-empty config/*/ > /dev/null 2>&1 || true
rmdir --ignore-fail-on-non-empty config > /dev/null 2>&1 || true
rmdir --ignore-fail-on-non-empty auto > /dev/null 2>&1 || true
rmdir --ignore-fail-on-non-empty local/functions > /dev/null 2>&1 || true
rmdir --ignore-fail-on-non-empty local/scripts > /dev/null 2>&1 || true
rmdir --ignore-fail-on-non-empty local/*/ > /dev/null 2>&1 || true
rmdir --ignore-fail-on-non-empty local > /dev/null 2>&1 || true
fi