+debhelper (3.4.3) unstable; urgency=low
+
+ * Improved dh_installxfonts some more:
+ - Better indenting of generated code.
+ - Better ordering of generated code (minor fix).
+
+ -- Joey Hess <joeyh@debian.org> Sat, 26 Jan 2002 23:09:59 -0500
+
debhelper (3.4.2) unstable; urgency=low
* dh_installman: more documentation about the .TH line. Closes: #129205
# to call.
my @cmds;
foreach my $f (@fontdirs) {
+ # This must come before update-fonts-dir.
+ push @cmds, "update-fonts-scale $f"
+ if -f "$tmp/etc/X11/fonts/$f/$package.scale";
push @cmds, "update-fonts-dir $f";
push @cmds, "update-fonts-alias $f"
if -f "$tmp/etc/X11/fonts/$f/$package.alias";
- # This must come _before_ mkfontdir, thus the unshift.
- unshift @cmds, "update-fonts-scale $f"
- if -f "$tmp/etc/X11/fonts/$f/$package.scale";
}
autoscript($package, "postinst", "postinst-xfonts",
- "s:#CMDS#:".join("\n", @cmds).":;");
+ "s:#CMDS#:".join("\n", map { "\t$_" } @cmds).":;");
autoscript($package, "postrm", "postrm-xfonts",
"s:#CMDS#:".join("\n", @cmds).":;");
}