From 23e53946b769999c40d402cc444b7013d3bfa880 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 16 Sep 2001 22:52:22 +0000 Subject: r491: * dh_installxfonts: Do not specify /usr/sbin/ paths; that should be in the path and dpkg enforces it. Closes: #112385 --- dh_installxfonts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dh_installxfonts') diff --git a/dh_installxfonts b/dh_installxfonts index 7a50c59..df85cec 100755 --- a/dh_installxfonts +++ b/dh_installxfonts @@ -50,10 +50,10 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # Figure out what commands the postinst will need to call. my @updatecmds=('makefontdir'); foreach my $f (@fontdirs) { - push @updatecmds, '/usr/sbin/update-fonts-alias' + push @updatecmds, 'update-fonts-alias' if -f "$tmp/etc/X11/fonts/$f/$package.alias"; # This must come _before_ mkfontdir, thus the unshift. - unshift @updatecmds, '/usr/sbin/update-fonts-scale' + unshift @updatecmds, 'update-fonts-scale' if -f "$tmp/etc/X11/fonts/$f/$package.scale"; } -- cgit v1.2.1