tag 546577 pending
thanks
Hello,
Bug #546577 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:
http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=246cf59
---
commit 246cf59f8cb555bdaddd36e01d4b57a5e5ac3c7f
Author: Raphaël Hertzog <[email protected]>
Date: Mon Apr 12 12:06:01 2010 +0200
dpkg: export DPKG_MAINTSCRIPT_NAME to tell what kind of script we're running
The idea is that specialized hooks can benefit from this information to
do the right thing. The same call would be put in the various maintainer
scripts but the actions taken would be different depending on the script
nevertheless.
diff --git a/debian/changelog b/debian/changelog
index 08abe03..4e22316 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,9 @@ dpkg (1.15.6.2) UNRELEASED; urgency=low
This is a temporary work-around so that dselect doesn't try to reinstall
packages of priority > standard that were removed or not installed. Thanks
to Robert Luderda for the patch. Closes: #559519, #556889
+ * dpkg now exports DPKG_MAINTSCRIPT_NAME to maintainer scripts with the
+ type of maintainer script currently running (preinst, postinst, prerm,
+ postrm). Closes: #546577
[ Colin Watson ]
* Modern tar files typically use NormalFile1 rather than NormalFile0 for
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]