Fix leftovers with INFO_SUBDIR

This commit is contained in:
Baptiste Daroussin 2013-11-18 10:16:27 +00:00
parent ed2705a564
commit df3df5c8a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334169

View file

@ -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