diff options
author | hrs <hrs@FreeBSD.org> | 2008-10-27 04:47:01 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2008-10-27 04:47:01 +0800 |
commit | 51dc9ad6fc8b9917ab95b77ea226803fd1bf4c03 (patch) | |
tree | 6534578d000c59c09d4e2dd818518770270373eb /japanese/font-ume/files | |
parent | 62770629c29c04b81e6b432ae5c109538d558a8c (diff) | |
download | freebsd-ports-gnome-51dc9ad6fc8b9917ab95b77ea226803fd1bf4c03.tar.gz freebsd-ports-gnome-51dc9ad6fc8b9917ab95b77ea226803fd1bf4c03.tar.zst freebsd-ports-gnome-51dc9ad6fc8b9917ab95b77ea226803fd1bf4c03.zip |
Update to 394.
Diffstat (limited to 'japanese/font-ume/files')
-rw-r--r-- | japanese/font-ume/files/pkg-install.in | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/japanese/font-ume/files/pkg-install.in b/japanese/font-ume/files/pkg-install.in index fd30a533d2d1..524cbf6befa7 100644 --- a/japanese/font-ume/files/pkg-install.in +++ b/japanese/font-ume/files/pkg-install.in @@ -82,16 +82,20 @@ case "$2" in POST-INSTALL) cd ${X_FONTSDIR} touch fonts.dir - (catfontsdir < fonts.dir; addentries) > fonts.dir.tmp - nfonts < fonts.dir.tmp > fonts.dir - cat fonts.dir.tmp >> fonts.dir - rm -f fonts.dir.tmp + exec < fonts.dir; rm -f fonts.dir + (catfontsdir; addentries) > fonts.dir + _num=`nfonts fonts.dir` + exec < fonts.dir; rm -f fonts.dir + (echo "${_num}"; cat) > fonts.dir + chmod 0444 fonts.dir ;; DEINSTALL) cd ${X_FONTSDIR} - catfontsdir < fonts.dir > fonts.dir.tmp - nfonts < fonts.dir.tmp > fonts.dir - cat fonts.dir.tmp >> fonts.dir - rm -f fonts.dir.tmp + exec < fonts.dir; rm -f fonts.dir + catfontsdir > fonts.dir + _num=`nfonts fonts.dir` + exec < fonts.dir; rm -f fonts.dir + (echo "${_num}"; cat) > fonts.dir + chmod 0444 fonts.dir ;; esac |