1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

Remove empty directory after deinstallation.

This commit is contained in:
Hiroki Sato 2009-06-03 07:27:24 +00:00
parent 939a1dbfda
commit 83c00d4de8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235103
2 changed files with 2 additions and 0 deletions

View File

@ -86,5 +86,6 @@ POST-DEINSTALL)
if [ -r fonts.dir -a `wc -l < fonts.dir` = 1 ]; then
rm -f fonts.dir
fi
rmdir ${X_FONTSDIR} > /dev/null 2>&1 || true
;;
esac

View File

@ -90,5 +90,6 @@ POST-DEINSTALL)
if [ -r fonts.dir -a `wc -l < fonts.dir` = 1 ]; then
rm -f fonts.dir
fi
rmdir ${X_FONTSDIR} > /dev/null 2>&1 || true
;;
esac