diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2009-05-31 12:23:02 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2009-05-31 12:23:02 +0000 |
commit | a740775726b6939e7ffc8234faab78bf39f31e36 (patch) | |
tree | d45ad66675dc085e291762fcd6b8401ea6de6b05 /japanese/font-vlgothic | |
parent | e171c937c58befcd8e80400481fee3162b29a136 (diff) | |
download | ports-a740775726b6939e7ffc8234faab78bf39f31e36.tar.gz ports-a740775726b6939e7ffc8234faab78bf39f31e36.zip |
Notes
Diffstat (limited to 'japanese/font-vlgothic')
-rw-r--r-- | japanese/font-vlgothic/files/pkg-install.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/japanese/font-vlgothic/files/pkg-install.in b/japanese/font-vlgothic/files/pkg-install.in index 40a459d2bfbc..ec205277dbf7 100644 --- a/japanese/font-vlgothic/files/pkg-install.in +++ b/japanese/font-vlgothic/files/pkg-install.in @@ -85,5 +85,8 @@ DEINSTALL) nfonts < fonts.dir.tmp > fonts.dir cat fonts.dir.tmp >> fonts.dir rm -f fonts.dir.tmp + if [ -r fonts.dir -a `wc -l < fonts.dir` = 1 ]; then + rm -f fonts.dir + fi ;; esac |