summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2009-06-03 07:27:24 +0000
committerHiroki Sato <hrs@FreeBSD.org>2009-06-03 07:27:24 +0000
commit83c00d4de89701ccd4987749138110f9a14f2725 (patch)
treef217491b19d82b3f9c1d2b31ecf4447f3f72d204 /japanese
parentFix dependency. (diff)
Remove empty directory after deinstallation.
Notes
Notes: svn path=/head/; revision=235103
Diffstat (limited to 'japanese')
-rw-r--r--japanese/font-ipa-uigothic/files/pkg-install.in1
-rw-r--r--japanese/font-mplus-ipa/files/pkg-install.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/japanese/font-ipa-uigothic/files/pkg-install.in b/japanese/font-ipa-uigothic/files/pkg-install.in
index e8beb7ff9472..cfc345e57c50 100644
--- a/japanese/font-ipa-uigothic/files/pkg-install.in
+++ b/japanese/font-ipa-uigothic/files/pkg-install.in
@@ -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
diff --git a/japanese/font-mplus-ipa/files/pkg-install.in b/japanese/font-mplus-ipa/files/pkg-install.in
index 0675dc5dbca4..c87696f080ad 100644
--- a/japanese/font-mplus-ipa/files/pkg-install.in
+++ b/japanese/font-mplus-ipa/files/pkg-install.in
@@ -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