summaryrefslogtreecommitdiff
path: root/dh_installxfonts
diff options
context:
space:
mode:
authorjoey <joey>2001-09-16 22:52:22 +0000
committerjoey <joey>2001-09-16 22:52:22 +0000
commit23e53946b769999c40d402cc444b7013d3bfa880 (patch)
tree763dc246d3df93a880df310d877c5c905e23aabb /dh_installxfonts
parent88438fd0438628b5b021a0c82daa912cf0d1b068 (diff)
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-xdh_installxfonts4
1 files changed, 2 insertions, 2 deletions
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";
}