diff options
author | asami <asami@FreeBSD.org> | 2000-06-01 14:46:32 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-06-01 14:46:32 +0800 |
commit | 92170126a08edf49e32c345c624893dd842ed7de (patch) | |
tree | 671aad50e217d29cd957e667904457479f03ed5e /x11-fonts | |
parent | 272323e5ce0d55c612b70d1af2ccbde6a5ae673a (diff) | |
download | freebsd-ports-gnome-92170126a08edf49e32c345c624893dd842ed7de.tar.gz freebsd-ports-gnome-92170126a08edf49e32c345c624893dd842ed7de.tar.zst freebsd-ports-gnome-92170126a08edf49e32c345c624893dd842ed7de.zip |
Remove empty fonts.dir and fonts.alias files. (Note chinese/kcfonts still
leaves fonts.alias behind -- it is not removing any entries from that file.)
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl b/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl index ee96237b0b93..5acdd065022e 100644 --- a/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl +++ b/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl @@ -9,4 +9,5 @@ if [ "x$2" = "xPOST-DEINSTALL" ]; then echo "to enable this update." echo "**********************************************************" ) + [ `wc -c ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir | awk '{print $1}'` = 2 ] && rm -f ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir fi |