aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wine.eselect5
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