diff options
Diffstat (limited to 'postgresql.eselect')
-rw-r--r-- | postgresql.eselect | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/postgresql.eselect b/postgresql.eselect index 67f7b74..83db02f 100644 --- a/postgresql.eselect +++ b/postgresql.eselect @@ -328,18 +328,6 @@ do_unset() { done } -### Reset Action ### -describe_reset() { - echo "Recreate symbolic links for currently active slot." -} - -do_reset() { - local slot=$(active_slot) - [[ ${slot} == "(none)" ]] && die -q "No active slot to reset." - do_unset ${slot} - do_set ${slot} -} - ### Update Action ### describe_update() { echo "Refreshes all symbolic links managed by this module" @@ -390,9 +378,9 @@ do_update() { local slots=($(get_slots)) if [[ ${slots[@]} =~ ${active_slot} ]] ; then - # If active_slot is in the slots list, do a reset as the installation + # If active_slot is in the slots list, set it again as the installation # may have changed. - do_reset + do_set ${active_slot} elif [[ ${#slots[@]} -ne 0 ]] ; then # If $slots is not empty but ${active_slot} is set, the active_slot # must have been unmerged and its links need to be cleaned before... |