[Lunar-commits] <moonbase> lvm2: remove all the dead links at uninstall.

Florin Braescu florin at lunar-linux.org
Wed Nov 2 19:31:09 CET 2011


commit 39b1f50ab65bd4856a6b361e879f586407c951f5
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Wed Nov 2 19:31:09 2011 +0100

    lvm2: remove all the dead links at uninstall.
---
 filesys/lvm2/POST_REMOVE |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/filesys/lvm2/POST_REMOVE b/filesys/lvm2/POST_REMOVE
index e919036..1f36cd5 100644
--- a/filesys/lvm2/POST_REMOVE
+++ b/filesys/lvm2/POST_REMOVE
@@ -1,3 +1,8 @@
 # Remove dangling symlinks
-cd /sbin &&
+cd /lib  &&
+rm -f libdevmapper-event-lvm2mirror.so libdevmapper-event-lvm2raid.so libdevmapper-event-lvm2snapshot.so
+cd /sbin  &&
 rm -f lvmchange lvmdiskscan lvmsadc lvmsar lvreduce lvremove lvrename lvresize lvs lvscan pvchange pvck pvcreate pvdisplay pvmove pvremove pvresize pvs pvscan vgcfgbackup vgcfgrestore vgchange vgck vgconvert vgcreate vgdisplay vgexport vgextend vgimport vgmerge vgmknodes vgreduce vgremove vgrename vgs vgscan vgsplit
+cd /usr/lib  &&
+rm -f libdevmapper-event-lvm2.so libdevmapper-event.so libdevmapper.so liblvm2cmd.so
+


More information about the Lunar-commits mailing list