[flexpart] 26/26: Fix alternatives. Closes: #729212.

Alastair McKinstry mckinstry at moszumanska.debian.org
Thu Aug 27 12:42:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to tag debian/9.02-10
in repository flexpart.

commit 0dfa1560cf9a49c4f826e636dcb5d1f078cbe5ce
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Jul 7 07:58:07 2015 +0100

    Fix alternatives. Closes: #729212.
---
 debian/changelog         | 8 ++++++--
 debian/flexpart.postinst | 1 -
 debian/flexpart.prerm    | 2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 97d5bc6..11bce5e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,14 @@
-flexpart (9.02-10) UNRELEASED; urgency=medium
+flexpart (9.02-10) unstable; urgency=medium
 
   * Build with -mcmodel=large on arm74, ppc64el. Closes: #767213. 
   * Move to Standards-Version: 3.9.6
   * Add Vcs-Git to debian/control. Point to debian-science.
+  * Patch from Andreas Beckmann: 
+    * postinst: Do not run update-alternatives --auto as that would override
+       local customization.
+    * prerm: Remove the correct alternative.  (Closes: #729212)
 
- -- Alastair McKinstry <mckinstry at debian.org>  Tue, 07 Jul 2015 07:36:54 +0100
+ -- Alastair McKinstry <mckinstry at debian.org>  Tue, 07 Jul 2015 07:59:02 +0100
 
 flexpart (9.02-9) unstable; urgency=medium
 
diff --git a/debian/flexpart.postinst b/debian/flexpart.postinst
index 13bdc3f..eb04bb4 100644
--- a/debian/flexpart.postinst
+++ b/debian/flexpart.postinst
@@ -8,7 +8,6 @@ case "$1" in
     configure|abort-remove|abort-deconfigure)
         # Install alternatives
         update-alternatives --install /usr/bin/flexpart flexpart /usr/bin/flexpart.ecmwf 20
-        update-alternatives --auto flexpart
         ;;
     abort-upgrade)
         # Nothing to undo
diff --git a/debian/flexpart.prerm b/debian/flexpart.prerm
index b01830c..740409c 100644
--- a/debian/flexpart.prerm
+++ b/debian/flexpart.prerm
@@ -6,6 +6,6 @@ set -e
 
 if [ "$1" != "upgrade" ]
 then
-        update-alternatives --remove-all flexpart 
+       update-alternatives --remove flexpart /usr/bin/flexpart.ecmwf
 fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/flexpart.git



More information about the debian-science-commits mailing list