[Lunar-commits] r19510 - lunar/trunk/sbin
Auke Kok
sofar at lunar-linux.org
Wed Mar 29 02:29:33 UTC 2006
Author: sofar
Date: 2006-03-29 02:29:33 +0000 (Wed, 29 Mar 2006)
New Revision: 19510
Modified:
lunar/trunk/sbin/lrm
Log:
As noted by tchan, POST_REMOVE needs to be run AFTER a module has been succesfully removed. This means that administrativa must have finished. BUGFIX #75.
Modified: lunar/trunk/sbin/lrm
===================================================================
--- lunar/trunk/sbin/lrm 2006-03-29 02:13:01 UTC (rev 19509)
+++ lunar/trunk/sbin/lrm 2006-03-29 02:29:33 UTC (rev 19510)
@@ -182,6 +182,9 @@
verbose_msg "Skipping removal of files completely (REAP=$REAP)"
fi
+ # administration duty time:
+ remove_module $MODULE
+
# time-out 2: POST_REMOVE
if [ "$UPGRADE" != "on" ] ; then
plugin_call BUILD_POST_REMOVE $MODULE
@@ -199,9 +202,6 @@
fi
fi
- # administration duty time:
- remove_module $MODULE
-
message "${LRM_COLOR}Removed${EXTEMP} module:" \
"${MODULE_COLOR}${MODULE}${DEFAULT_COLOR}"
activity_log "lrm" "$MODULE" "$VERSION" "success"
More information about the Lunar-commits
mailing list