From 7b3307a2faf0ab9dec667408a2d00d14fcd860c8 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 30 Jan 2002 00:00:50 +0000 Subject: [PATCH] r507: * dh_installxfonts: separate multiple commands with \n so sed doesn't get upset. Closes: #131322 --- autoscripts/postinst-xfonts | 2 +- debian/changelog | 7 +++++++ dh_installxfonts | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/autoscripts/postinst-xfonts b/autoscripts/postinst-xfonts index 8821bc5..4c5ab1b 100644 --- a/autoscripts/postinst-xfonts +++ b/autoscripts/postinst-xfonts @@ -1,3 +1,3 @@ if [ -x /usr/sbin/update-fonts-dir ]; then -#CMDS# + #CMDS# fi diff --git a/debian/changelog b/debian/changelog index 2f482b0..6fb86b4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (3.4.5) unstable; urgency=low + + * dh_installxfonts: separate multiple commands with \n so sed doesn't get + upset. Closes: #131322 + + -- Joey Hess Tue, 29 Jan 2002 18:58:58 -0500 + debhelper (3.4.4) unstable; urgency=low * Introduced the debian/compat file. This is the new, preferred way to say diff --git a/dh_installxfonts b/dh_installxfonts index 5159868..0ee9cb3 100755 --- a/dh_installxfonts +++ b/dh_installxfonts @@ -68,9 +68,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } autoscript($package, "postinst", "postinst-xfonts", - "s:#CMDS#:".join("\n", map { "\t$_" } @cmds).":;"); + "s:#CMDS#:".join(";", @cmds).":;"); autoscript($package, "postrm", "postrm-xfonts", - "s:#CMDS#:".join("\n", @cmds).":;"); + "s:#CMDS#:".join(";", @cmds).":;"); addsubstvar($package, "misc:Depends", "xutils", ">= 4.0.3"); } -- 2.39.5