diff options
Diffstat (limited to 'japanese/font-vlgothic/files/pkg-install.in')
-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 |