r882 - lvm2/trunk/debian

Bastian Blank waldi at alioth.debian.org
Thu Oct 20 19:08:07 UTC 2011


Author: waldi
Date: Thu Oct 20 19:08:06 2011
New Revision: 882

Log:
* debian/changelog: Update.
* debian/dmsetup.preinst, debian/libdevmapper1.02.1.preinst,
  debian/lvm2.preinst: Remove Squeeze upgrade checks.

Deleted:
   lvm2/trunk/debian/dmsetup.preinst
   lvm2/trunk/debian/libdevmapper1.02.1.preinst
Modified:
   lvm2/trunk/debian/changelog
   lvm2/trunk/debian/lvm2.preinst

Modified: lvm2/trunk/debian/changelog
==============================================================================
--- lvm2/trunk/debian/changelog	Thu Oct 20 19:03:08 2011	(r881)
+++ lvm2/trunk/debian/changelog	Thu Oct 20 19:08:06 2011	(r882)
@@ -8,6 +8,7 @@
     - Remove old cache dir.
   * Move lock files to /run/lock/lvm. (closes: #263148)
   * Support status action in lvm2 init script. (closes: #643822)
+  * Remove Squeeze upgrade checks.
 
  -- Bastian Blank <waldi at debian.org>  Sat, 15 Oct 2011 23:00:32 +0200
 

Modified: lvm2/trunk/debian/lvm2.preinst
==============================================================================
--- lvm2/trunk/debian/lvm2.preinst	Thu Oct 20 19:03:08 2011	(r881)
+++ lvm2/trunk/debian/lvm2.preinst	Thu Oct 20 19:08:06 2011	(r882)
@@ -4,18 +4,6 @@
 
 case "$1" in
     upgrade)
-        if dpkg --compare-versions "$2" lt 2.02.39-5; then
-            if [ -L /lib/lvm-default ]; then
-                rm -f /lib/lvm-default
-            fi
-            rm -f /etc/lvm/.cache
-        fi
-        if dpkg --compare-versions "$2" lt 2.02.51-1; then
-            if [ -e /etc/init.d/lvm ]; then
-                rm -f /etc/init.d/lvm
-            fi
-            update-rc.d lvm remove >/dev/null || :
-        fi
         if dpkg --compare-versions "$2" lt 2.02.88-1; then
             if [ -d /etc/lvm/cache ]; then
                 rm -rf /etc/lvm/cache



More information about the pkg-lvm-commits mailing list