r45138 - in /packages/lapack/trunk/debian: changelog liblapack3gf.prerm

sebastien-guest at users.alioth.debian.org sebastien-guest at users.alioth.debian.org
Tue Jun 26 21:47:14 UTC 2012


Author: sebastien-guest
Date: Tue Jun 26 21:47:14 2012
New Revision: 45138

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45138
Log:
liblapack3gf.prerm: avoid crash if liblapack.so.3gf already deleted

Modified:
    packages/lapack/trunk/debian/changelog
    packages/lapack/trunk/debian/liblapack3gf.prerm

Modified: packages/lapack/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/lapack/trunk/debian/changelog?rev=45138&op=diff
==============================================================================
--- packages/lapack/trunk/debian/changelog (original)
+++ packages/lapack/trunk/debian/changelog Tue Jun 26 21:47:14 2012
@@ -1,6 +1,7 @@
 lapack (3.4.1-4) UNRELEASED; urgency=low
 
-  * liblapack3.prerm: avoid crash if liblapack.so.3gf already deleted
+  * liblapack3.prerm, liblapack3gf.prerm: avoid crash if liblapack.so.3gf
+    already deleted
   * liblapack3gf transitional package:
     + move to oldlibs section (Closes: #679103)
     + mark as arch:all

Modified: packages/lapack/trunk/debian/liblapack3gf.prerm
URL: http://svn.debian.org/wsvn/debian-science/packages/lapack/trunk/debian/liblapack3gf.prerm?rev=45138&op=diff
==============================================================================
--- packages/lapack/trunk/debian/liblapack3gf.prerm (original)
+++ packages/lapack/trunk/debian/liblapack3gf.prerm Tue Jun 26 21:47:14 2012
@@ -7,7 +7,7 @@
 if [ "$1" = "upgrade" ]
 then
 # Remove the old declaration
-    update-alternatives --remove-all liblapack.so.3gf
+    update-alternatives --display liblapack.so.3gf >/dev/null 2>&1 && update-alternatives --remove-all liblapack.so.3gf
 fi
 
 if [ "$1" != "upgrade" ]




More information about the debian-science-commits mailing list