aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-11-18 18:16:27 +0800
committerbapt <bapt@FreeBSD.org>2013-11-18 18:16:27 +0800
commitca9507adad685208b4c70f46f547a68e08a1cdae (patch)
tree13c7e15d502f5f0a8363168308d230737c0157bb
parente8364548ac56d86a4ad39b2f3cf16e96028517ba (diff)
downloadfreebsd-ports-gnome-ca9507adad685208b4c70f46f547a68e08a1cdae.tar.gz
freebsd-ports-gnome-ca9507adad685208b4c70f46f547a68e08a1cdae.tar.zst
freebsd-ports-gnome-ca9507adad685208b4c70f46f547a68e08a1cdae.zip
Fix leftovers with INFO_SUBDIR
-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