Index: info.yaml =================================================================== diff --git a/head/Keywords/info.yaml b/head/Keywords/info.yaml --- a/head/Keywords/info.yaml (revision 332670) +++ b/head/Keywords/info.yaml (working copy) @@ -12,3 +12,6 @@ if [ $(info -d ${file%/*} --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then rm -f ${file%/*}/dir fi + if [ ${file%/*} != "%D/info" ]; then + rmdir ${file%/*} 2> /dev/null || true + fi