diff options
-rwxr-xr-x | helpers/lh_config | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/helpers/lh_config b/helpers/lh_config index f91f026..9daa087 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -196,7 +196,7 @@ Local_arguments () exit 0 ;; - clean) + --clean) # Remove empty directories in config tree if ls config/*/ > /dev/null 2>&1 then @@ -207,6 +207,13 @@ Local_arguments () then rmdir --ignore-fail-on-non-empty config fi + + if [ -d scripts ] + then + rmdir --ignore-fail-on-non-empty scripts + fi + + exit 0 ;; # config/common |