[atlas] 01/01: libatlas-base-dev.preinst: Cleanup obsolete alternatives dating back to lenny.

Sébastien Villemot sebastien at debian.org
Thu Jan 29 20:11:53 UTC 2015


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

sebastien pushed a commit to branch master
in repository atlas.

commit cb7c6765c73f906b6497fba78c3b181051b594f8
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Thu Jan 29 20:50:57 2015 +0100

    libatlas-base-dev.preinst: Cleanup obsolete alternatives dating back to lenny.
    
    Closes: #776089
---
 debian/changelog                 | 8 ++++++++
 debian/libatlas-base-dev.preinst | 7 +++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f60b1bc..165a299 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+atlas (3.10.2-7) unstable; urgency=medium
+
+  [ Andreas Beckmann ]
+  * libatlas-base-dev.preinst: Cleanup obsolete alternatives dating back to
+    lenny.  (Closes: #776089)
+
+ -- Sébastien Villemot <sebastien at debian.org>  Sat, 24 Jan 2015 23:06:27 +0100
+
 atlas (3.10.2-6) unstable; urgency=medium
 
   * Add missing files in archdef for mips.
diff --git a/debian/libatlas-base-dev.preinst b/debian/libatlas-base-dev.preinst
index 4a35f33..2758f38 100644
--- a/debian/libatlas-base-dev.preinst
+++ b/debian/libatlas-base-dev.preinst
@@ -9,6 +9,13 @@ then
     update-alternatives --remove libblas.so	/usr/lib/atlas-base/atlas/libblas.so
 fi
 
+# Cleanup obsolete alternatives dating back to lenny
+if [ "$1" = "install" ] || [ "$1" = "upgrade" ]
+then
+    update-alternatives --remove libblas-3.so /usr/lib/atlas/libblas.so
+    update-alternatives --remove liblapack-3.so /usr/lib/atlas/liblapack.so
+fi
+
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
 

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



More information about the debian-science-commits mailing list