r438 - lvm2/trunk/debian
Bastian Blank
waldi at alioth.debian.org
Tue Apr 10 08:00:40 UTC 2007
Author: waldi
Date: Tue Apr 10 08:00:39 2007
New Revision: 438
Modified:
lvm2/trunk/debian/lvm2.postinst
lvm2/trunk/debian/lvm2.prerm
Log:
debian/lvm2.postinst, debian/lvm2.prerm: Remove old code.
Modified: lvm2/trunk/debian/lvm2.postinst
==============================================================================
--- lvm2/trunk/debian/lvm2.postinst (original)
+++ lvm2/trunk/debian/lvm2.postinst Tue Apr 10 08:00:39 2007
@@ -2,23 +2,10 @@
set -e
-. /usr/share/debconf/confmodule
-
-
if test "$1" = "configure"; then
- /usr/sbin/update-alternatives --install /lib/lvm-default lvm-default /lib/lvm-200 1
-
- if test -x /usr/sbin/lvm-bin-scan; then
- /usr/sbin/lvm-bin-scan
- fi
-
echo -n "Backing up any LVM2 metadata that may exist..."
/sbin/vgcfgbackup >/dev/null 2>&1 || true
echo "done."
-
- if test -f /etc/init.d/lvm2; then
- update-rc.d -f lvm2 remove >/dev/null 2>&1 || true
- fi
fi
#DEBHELPER#
Modified: lvm2/trunk/debian/lvm2.prerm
==============================================================================
--- lvm2/trunk/debian/lvm2.prerm (original)
+++ lvm2/trunk/debian/lvm2.prerm Tue Apr 10 08:00:39 2007
@@ -3,13 +3,9 @@
set -e
if test "$1" = "remove"; then
-
echo -n "Backing up any LVM2 metadata that may exist..."
/sbin/vgcfgbackup >/dev/null 2>&1 || true
echo "done."
-
- /usr/sbin/update-alternatives --remove lvm-default /lib/lvm-200
-
fi
#DEBHELPER#
More information about the pkg-lvm-commits
mailing list