The branch, master has been updated
       via  1a0d3d92924d05f5074cb58aa635268aa7d9d17c (commit)
      from  e4ffa89209c478ad2fd2376e878398f99117a60a (commit)


- Shortlog ------------------------------------------------------------
1a0d3d9 Update deb-control(5) to explain better ordering of postinst/prerm

Summary of changes:
 debian/changelog  |    3 +++
 man/ChangeLog     |    6 ++++++
 man/deb-control.5 |    9 +++++----
 3 files changed, 14 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit 1a0d3d92924d05f5074cb58aa635268aa7d9d17c
Author: Raphael Hertzog <[EMAIL PROTECTED]>
Date:   Sun Jan 6 18:54:42 2008 +0100

    Update deb-control(5) to explain better ordering of postinst/prerm
    
    * man/deb-control.5: Explain better the ordering of call of
    postinst/prerm during installations and removal between a package
    and its dependencies.

diff --git a/debian/changelog b/debian/changelog
index 46dfcc9..df3aaa0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,9 @@ dpkg (1.14.15) UNRELEASED; urgency=low
     instead of #DEPRECATED, it's clearer for people.
   * Fix Dpkg::Shlibs::Objdump to properly take into account R_*_COPY
     relocations. Closes: #454036
+  * Explain better the order in which postinst/prerm scripts are called
+    between a package and its dependencies. Thanks to Nicolas François and
+    Helge Kreutzmann for their suggestions. Closes: #379641
 
   [ Guillem Jover ]
   * Move compression related variables to a new Dpkg::Compression module.
diff --git a/man/ChangeLog b/man/ChangeLog
index 76f7fab..b88a935 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-06  Raphael Hertzog  <[EMAIL PROTECTED]>
+
+       * deb-control.5: Explain better the ordering of call of
+       postinst/prerm during installations and removal between a package
+       and its dependencies.
+
 2008-01-03  Guillem Jover  <[EMAIL PROTECTED]>
 
        * dpkg-buildpackage.1: Document new -j behaviour.
diff --git a/man/deb-control.5 b/man/deb-control.5
index 185128d..5583abd 100644
--- a/man/deb-control.5
+++ b/man/deb-control.5
@@ -107,10 +107,11 @@ List of packages that are required for this package to 
provide a
 non-trivial amount of functionality. The package maintenance software
 will not allow a package to be installed if the packages listed in its
 .B Depends
-field aren't installed (at least not without using the force options),
-and will run the postinst scripts of packages listed in Depends: fields
-before those of the packages which depend on them, and run prerm scripts
-before.
+field aren't installed (at least not without using the force options).
+In an installation, the postinst scripts of packages listed in Depends:
+fields are run before those of the packages which depend on them. On the
+opposite, in a removal, the prerm script of a package is run before
+those of the packages listed in its Depends: field.
 .TP
 .BR Pre-Depends: " <package list>"
 List of packages that must be installed

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to