From 8162f479ea8540086c6f0415abbadeb39ce823b8 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 17 Aug 1999 05:01:28 +0000 Subject: [PATCH] r125: Initial Import --- debian/changelog | 7 +++++++ dh_installemacsen | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index a52e4fc..4ec7e84 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (1.1.18) unstable; urgency=low + + * dh_installemacsen: substitute package name for #PACKAGE# when setting + up postinst and prerm (#26560). + + -- Joey Hess Tue, 8 Sep 1998 14:24:30 -0700 + debhelper (1.1.17) unstable; urgency=low * dh_strip: on Richard Braakman's advice, strip the .comment and .note diff --git a/dh_installemacsen b/dh_installemacsen index e87cece..008d953 100755 --- a/dh_installemacsen +++ b/dh_installemacsen @@ -27,8 +27,10 @@ for PACKAGE in $DH_DOPACKAGES; do if [ "$emacsen_install" -o "$emacsen_remove" ]; then if [ ! "$DH_NOSCRIPTS" ]; then - autoscript "postinst" "postinst-emacsen" - autoscript "prerm" "prerm-emacsen" + autoscript "postinst" "postinst-emacsen" \ + "s/#PACKAGE#/$PACKAGE/" + autoscript "prerm" "prerm-emacsen" \ + "s/#PACKAGE#/$PACKAGE/" fi fi done -- 2.39.5