diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2007-07-14 21:50:06 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2007-07-14 21:50:06 +0000 |
commit | 6db01c26b98393c0014063b74351e6c51b12a20b (patch) | |
tree | 77f5e25a0ff3d4fb518daad221908cbf709e47cc /usr.sbin/pkg_add/OpenBSD/PackingElement.pm | |
parent | c5c868433a3b868da4621122aab81330ed6bff49 (diff) |
- there's no point in running mkfontdir only for @fontdir ; so let's run
mkfontscale too (and remove fonts.scale on package removal)
discussed with matthieu@ and espie@ weeks ago
"seems fine" pyr@, ok espie@
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingElement.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index 32de9812e08..3e2b6513751 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingElement.pm,v 1.142 2007/06/18 10:47:03 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.143 2007/07/14 21:50:05 ajacoutot Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -1237,6 +1237,7 @@ sub finish_fontdirs map { update_fontalias($_) } @l unless $state->{not}; print "You may wish to update your font path for ", join(' ', @l), "\n"; return if $state->{not}; + run_if_exists($state, OpenBSD::Paths->mkfontscale, @l); run_if_exists($state, OpenBSD::Paths->mkfontdir, @l); map { restore_fontdir($_) } @l; |