r44828 - in /packages/lapack/trunk/debian: changelog liblapack3.postinst liblapack3.preinst

sylvestre at users.alioth.debian.org sylvestre at users.alioth.debian.org
Fri May 18 16:31:16 UTC 2012


Author: sylvestre
Date: Fri May 18 16:31:15 2012
New Revision: 44828

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44828
Log:
Moved removal from postinst to preinst

Added:
    packages/lapack/trunk/debian/liblapack3.preinst
Modified:
    packages/lapack/trunk/debian/changelog
    packages/lapack/trunk/debian/liblapack3.postinst

Modified: packages/lapack/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/lapack/trunk/debian/changelog?rev=44828&op=diff
==============================================================================
--- packages/lapack/trunk/debian/changelog (original)
+++ packages/lapack/trunk/debian/changelog Fri May 18 16:31:15 2012
@@ -1,3 +1,9 @@
+lapack (3.4.1-1~exp3) experimental; urgency=low
+
+  * Moved removal from postinst to preinst
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Fri, 18 May 2012 16:05:45 +0200
+
 lapack (3.4.1-1~exp2) experimental; urgency=low
 
   * Remove liblapack.so.3gf references before the install

Modified: packages/lapack/trunk/debian/liblapack3.postinst
URL: http://svn.debian.org/wsvn/debian-science/packages/lapack/trunk/debian/liblapack3.postinst?rev=44828&op=diff
==============================================================================
--- packages/lapack/trunk/debian/liblapack3.postinst (original)
+++ packages/lapack/trunk/debian/liblapack3.postinst Fri May 18 16:31:15 2012
@@ -3,9 +3,6 @@
 set -e
 
 . /usr/share/debconf/confmodule
-
-# For the transition liblapack3gf => liblapack3
-update-alternatives --remove liblapack.so.3gf /usr/lib/liblapack/liblapack.so.3
 
 update-alternatives --install /usr/lib/liblapack.so.3 liblapack.so.3 \
 	/usr/lib/lapack/liblapack.so.3 10 \

Added: packages/lapack/trunk/debian/liblapack3.preinst
URL: http://svn.debian.org/wsvn/debian-science/packages/lapack/trunk/debian/liblapack3.preinst?rev=44828&op=file
==============================================================================
--- packages/lapack/trunk/debian/liblapack3.preinst (added)
+++ packages/lapack/trunk/debian/liblapack3.preinst Fri May 18 16:31:15 2012
@@ -1,0 +1,17 @@
+#! /bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+# For the transition liblapack3gf => liblapack3
+update-alternatives --remove liblapack.so.3gf /usr/lib/liblapack/liblapack.so.3
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+




More information about the debian-science-commits mailing list