From df3df5c8a8612d6bd68cb4180306cb240ea7c75f Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 18 Nov 2013 10:16:27 +0000 Subject: [PATCH] Fix leftovers with INFO_SUBDIR --- Keywords/info.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Keywords/info.yaml b/Keywords/info.yaml index 5cdb789f499c..b4bf1e78330e 100644 --- a/Keywords/info.yaml +++ b/Keywords/info.yaml @@ -12,3 +12,6 @@ post-deinstall: | 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