r45113 - in /packages/openblas/trunk/debian: changelog libopenblas-base.prerm

sebastien-guest at users.alioth.debian.org sebastien-guest at users.alioth.debian.org
Sun Jun 24 16:16:38 UTC 2012


Author: sebastien-guest
Date: Sun Jun 24 16:16:38 2012
New Revision: 45113

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45113
Log:
libopenblas-base.prerm: avoid crash if libblas.so.3gf already deleted

Modified:
    packages/openblas/trunk/debian/changelog
    packages/openblas/trunk/debian/libopenblas-base.prerm

Modified: packages/openblas/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/trunk/debian/changelog?rev=45113&op=diff
==============================================================================
--- packages/openblas/trunk/debian/changelog (original)
+++ packages/openblas/trunk/debian/changelog Sun Jun 24 16:16:38 2012
@@ -1,3 +1,9 @@
+openblas (0.1.1-5) UNRELEASED; urgency=low
+
+  * libopenblas-base.prerm: avoid crash if libblas.so.3gf already deleted
+
+ -- Sébastien Villemot <sebastien.villemot at ens.fr>  Sun, 24 Jun 2012 16:15:11 +0000
+
 openblas (0.1.1-4) unstable; urgency=low
 
   * Fix the FTBFS under KFreebsd. Thanks to Sébastien Villemot (Closes: #677165)

Modified: packages/openblas/trunk/debian/libopenblas-base.prerm
URL: http://svn.debian.org/wsvn/debian-science/packages/openblas/trunk/debian/libopenblas-base.prerm?rev=45113&op=diff
==============================================================================
--- packages/openblas/trunk/debian/libopenblas-base.prerm (original)
+++ packages/openblas/trunk/debian/libopenblas-base.prerm Sun Jun 24 16:16:38 2012
@@ -5,7 +5,7 @@
 if [ "$1" = "upgrade" ]
 then
 # Remove the old declaration
-    update-alternatives --remove-all libblas.so.3gf
+    update-alternatives --display libblas.so.3gf >/dev/null 2>&1 && update-alternatives --remove-all libblas.so.3gf
 fi
 
 if [ "$1" != "upgrade" ]




More information about the debian-science-commits mailing list