New commits:
commit 0fe056c0e9b07494a65c0d852d753074037c1d5b
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
dispel, libdispel, common, cleanse, libcast, libtriggers: fixed bug
#14575 - manually dispelling removes the spell from the install
queue
most internal calls pass a flag to disable that behaviour
diff --git a/ChangeLog b/ChangeLog
index a180558..0d07250 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
spells, even though their logs possibly still exist
* libtablet: shortcircuit tablet_check_version_cache if the old
queuing
method is used
+ * dispel, libdispel, common, cleanse, libcast, libtriggers: fixed bug
+ #14575 - manually dispelling removes the spell from the install
queue
+ most internal calls pass a flag to disable that behaviour
2008-07-07 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libcast: removed extraneus spaces in acquire_cast_lock messages
diff --git a/usr/sbin/cleanse b/usr/sbin/cleanse
index 893826e..34b44bd 100755
--- a/usr/sbin/cleanse
+++ b/usr/sbin/cleanse
@@ -402,7 +402,7 @@ function prune_depends()
# put the spells in two files for later perusal
if [[ $action ]] ; then
[ -s $TMP_DIR/prune.dispel ] &&
- dispel $(sort -u $TMP_DIR/prune.dispel)
+ dispel --noqueue $(sort -u $TMP_DIR/prune.dispel)
[ -s $TMP_DIR/prune.cast ] &&
cast -c $(sort -u $TMP_DIR/prune.cast)
else
diff --git a/usr/sbin/dispel b/usr/sbin/dispel
index f81b4cc..490ddeb 100755
--- a/usr/sbin/dispel
+++ b/usr/sbin/dispel
@@ -38,6 +38,7 @@ Optional Parameters:
--total-dispel Remove everything including config files even
if they were modified.
+--noqueue Don't try to remove the spell from the install queue
The following parameters effect dependency following, if they are not
specified the default action is to do no dependency following. For
@@ -209,6 +210,7 @@ function process_parameters() {
shift ;;
--debug-dispel) DEBUG_DISPEL=yes ; shift 1 ;;
--total-dispel) TOTAL_DISPEL=yes ; shift 1 ;;
+ --noqueue) DEQUEUE=off; shift 1 ;;
*) help ;;
esac
else
@@ -250,6 +252,7 @@ function strip_parameters() {
--user-parent-deps) shift 1 ;;
--debug-dispel) shift 1 ;;
--total-dispel) shift 1 ;;
+ --noqueue) shift 1 ;;
*) shift 1 ;;
esac
else
diff --git a/usr/share/man/man8/dispel.8 b/usr/share/man/man8/dispel.8
index ee004b5..736bd32 100644
--- a/usr/share/man/man8/dispel.8
+++ b/usr/share/man/man8/dispel.8
@@ -88,6 +88,8 @@ Don't remove dependency information. DO NOT use this unless
you know exactly
what you are doing, and dont complain if it breaks your box.
.SS "--total-dispel"
Remove everything including config files, even if they were modified.
+.SS "--noqueue"
+Don't try to remove the spell from the install queue