diff options
author | joey <joey> | 2001-09-16 22:52:22 +0000 |
---|---|---|
committer | joey <joey> | 2001-09-16 22:52:22 +0000 |
commit | 23e53946b769999c40d402cc444b7013d3bfa880 (patch) | |
tree | 763dc246d3df93a880df310d877c5c905e23aabb /dh_installxfonts | |
parent | 88438fd0438628b5b021a0c82daa912cf0d1b068 (diff) | |
download | debhelper-23e53946b769999c40d402cc444b7013d3bfa880.tar.gz |
r491: * dh_installxfonts: Do not specify /usr/sbin/ paths; that should be in
the path and dpkg enforces it. Closes: #112385
Diffstat (limited to 'dh_installxfonts')
-rwxr-xr-x | dh_installxfonts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_installxfonts b/dh_installxfonts index 7a50c597..df85cec8 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"; } |