aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-11-18 10:16:27 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-11-18 10:16:27 +0000
commitdf3df5c8a8612d6bd68cb4180306cb240ea7c75f (patch)
tree13c7e15d502f5f0a8363168308d230737c0157bb /Keywords
parented2705a564c82efae432241ee10a1008d65966a8 (diff)
downloadports-df3df5c8a8612d6bd68cb4180306cb240ea7c75f.tar.gz
ports-df3df5c8a8612d6bd68cb4180306cb240ea7c75f.zip
Fix leftovers with INFO_SUBDIR
Notes
Notes: svn path=/head/; revision=334169
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/info.yaml3
1 files changed, 3 insertions, 0 deletions
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