Script Index


/usr/sbin/dispel

Dispel is the spell removal utility. It can be called by the user or by intone.

Synopsis

Dispel is the spell removal utility. It can be called by the user or by intone.


function downgrade()

Parameters:

Description

Downgrade a spell to a previously installed version


function process_parameters()

Parameters:

Args

Parameters

Description

Parse the dispel script's parameters


function strip_parameters()

Parameters:

Args

Parameters

Description

Remove the parsed parameters This is a silly way to do it


function dispel_parents_list_borkers()

Parameters:

Description

Display what dependencies were removed


function dispel_spell_wrapper()

Parameters:

Description

Frontend to do common things for dispelling (keep a note of what has already been dispelled.


function dispel_children()

Parameters:

Description

Move one step down the depends tree for the given spells, return list of spells removed. The caller is expected to call this in a loop until nothing is returned.


function dispel_child_query()

Parameters:

Description

Common code for querying the user about children to remove Prints a message and asks a query, if ask-yes or ask-no is the provided action.


function dispel_parent_query()

Parameters:

Description

Common code for querying the user about parents spells. Asks a query, if ask-yes or ask-no is the provided action.


function remove_from_dep_trees()

Parameters:

Description

dis-associate with all its children (fix upward dep tree) remove spell from the downward tree


function get_borked_parents()

Parameters:

Description

Find the spells that the following spell borks. Bork is a technical term which in this context refers to the situation where a spell is removed and spells that depend on it are broken. For example xorg borks blackbox.


function dispel_depends_engine()

Parameters:

Description

Main dependency following engine. This will follow the dependency tree downwards for all the provided spells, then repair one level of borked parents. The caller is expected to call this repeatedly until there are no borked parents to remove.


function main()

Parameters:

Args

Parameters

Description

Main loop for dispel