r45137 - in /packages/atlas/trunk/debian: changelog libatlas3gf-base.prerm
sebastien-guest at users.alioth.debian.org
sebastien-guest at users.alioth.debian.org
Tue Jun 26 21:39:27 UTC 2012
Author: sebastien-guest
Date: Tue Jun 26 21:39:26 2012
New Revision: 45137
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45137
Log:
libatlas3gf-base.prerm: avoid crash if libblas.so.3gf or liblapack.so.3gf already deleted
Modified:
packages/atlas/trunk/debian/changelog
packages/atlas/trunk/debian/libatlas3gf-base.prerm
Modified: packages/atlas/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/atlas/trunk/debian/changelog?rev=45137&op=diff
==============================================================================
--- packages/atlas/trunk/debian/changelog (original)
+++ packages/atlas/trunk/debian/changelog Tue Jun 26 21:39:26 2012
@@ -1,7 +1,7 @@
atlas (3.8.4-8) UNRELEASED; urgency=low
- * libatlas3-base.prerm: avoid crash if libblas.so.3gf or liblapack.so.3gf
- already deleted
+ * libatlas3-base.prerm, libatlas3gf-base.prerm: avoid crash if libblas.so.3gf
+ or liblapack.so.3gf already deleted
* Add 3gf compat symlinks for libcblas, libf77blas and liblapack_atlas
(to avoid breakage of some reverse deps)
* In the LAPACK alternatives, use a lower priority than Netlib (in order to
Modified: packages/atlas/trunk/debian/libatlas3gf-base.prerm
URL: http://svn.debian.org/wsvn/debian-science/packages/atlas/trunk/debian/libatlas3gf-base.prerm?rev=45137&op=diff
==============================================================================
--- packages/atlas/trunk/debian/libatlas3gf-base.prerm (original)
+++ packages/atlas/trunk/debian/libatlas3gf-base.prerm Tue Jun 26 21:39:26 2012
@@ -5,8 +5,8 @@
if [ "$1" = "upgrade" ]
then
# Remove the old declaration
- update-alternatives --remove-all libblas.so.3gf
- update-alternatives --remove-all liblapack.so.3gf
+ update-alternatives --display libblas.so.3gf >/dev/null 2>&1 && update-alternatives --remove-all libblas.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