aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-29 12:00:45 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-29 12:00:45 +0000
commitec4ead64bc77a232fb1910c0fade732782eeffd4 (patch)
treebe99d065f51806aef69ebc375310de7586a354cd
parent9f8593874f9dbae335d36956dd383d441d06ba42 (diff)
downloadrpmdrake-ec4ead64bc77a232fb1910c0fade732782eeffd4.tar
rpmdrake-ec4ead64bc77a232fb1910c0fade732782eeffd4.tar.gz
rpmdrake-ec4ead64bc77a232fb1910c0fade732782eeffd4.tar.bz2
rpmdrake-ec4ead64bc77a232fb1910c0fade732782eeffd4.tar.xz
rpmdrake-ec4ead64bc77a232fb1910c0fade732782eeffd4.zip
(get_status) dynamically switch the selection label
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 5e2b7182..5d0436cc 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1102,7 +1102,7 @@ or you already installed all of them."));
}
}, #- toggle_nodes
get_status => sub {
- $MODE eq 'install'
+ member($default_list_mode, qw(all non_installed))
? N("Selected: %s / Free disk space: %s", formatXiB($size_selected), formatXiB($size_free*1024))
: N("Selected size: %d MB", $size_selected/(1024*1024));
},