diff options
author | 2017-03-25 16:44:06 -0400 | |
---|---|---|
committer | 2017-03-25 16:44:06 -0400 | |
commit | c88ae194f71e6160724028ac1124303eeb31a036 (patch) | |
tree | e72ea377faacac4f449c160505d091ba6fa5750f | |
parent | wine.eselect: support --all in unset (diff) | |
download | eselect-wine-c88ae194f71e6160724028ac1124303eeb31a036.tar.gz eselect-wine-c88ae194f71e6160724028ac1124303eeb31a036.tar.bz2 eselect-wine-c88ae194f71e6160724028ac1124303eeb31a036.zip |
wine.eselect: Fix bug in unset --allv0.99_rc3
-rw-r--r-- | wine.eselect | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wine.eselect b/wine.eselect index 5e73cfd..49d6995 100644 --- a/wine.eselect +++ b/wine.eselect @@ -393,6 +393,7 @@ do_unset() { fi local v="wine" + local all=false while [[ $# -gt 0 ]]; do if [[ $1 == --* ]]; then @@ -412,9 +413,9 @@ do_unset() { # Run do_update for all variants if ${all}; then - do_update + do_unset for v in ${VARIANTS[@]}; do - do_update "--${v}" + do_unset "--${v}" done return 0 |