diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-11-18 10:16:27 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-11-18 10:16:27 +0000 |
commit | df3df5c8a8612d6bd68cb4180306cb240ea7c75f (patch) | |
tree | 13c7e15d502f5f0a8363168308d230737c0157bb /Keywords | |
parent | ed2705a564c82efae432241ee10a1008d65966a8 (diff) | |
download | ports-df3df5c8a8612d6bd68cb4180306cb240ea7c75f.tar.gz ports-df3df5c8a8612d6bd68cb4180306cb240ea7c75f.zip |
Notes
Diffstat (limited to 'Keywords')
-rw-r--r-- | Keywords/info.yaml | 3 |
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 |