aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-29 15:19:59 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-29 15:19:59 +0000
commit0bf13de5554f7730393d7631aeff3b0083d6743d (patch)
tree1efb5507e1539b1df7b2a9b30996d56148aa3ab8
parentea6ea73911a914229b8aa25b5791b275e96262e8 (diff)
downloadrpmdrake-0bf13de5554f7730393d7631aeff3b0083d6743d.tar
rpmdrake-0bf13de5554f7730393d7631aeff3b0083d6743d.tar.gz
rpmdrake-0bf13de5554f7730393d7631aeff3b0083d6743d.tar.bz2
rpmdrake-0bf13de5554f7730393d7631aeff3b0083d6743d.tar.xz
rpmdrake-0bf13de5554f7730393d7631aeff3b0083d6743d.zip
default "Compute updates on startup" to yes
(fix "MandrivaUpdate and urpmi show updated rpm, while rpmdrake doesn't", #47305)
-rw-r--r--NEWS3
-rw-r--r--rpmdrake.pm4
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4e84fe2f..b5908b2e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
- rpmdrake:
o fix swedish translation that broke menu structure (#49989)
+ o default "Compute updates on startup" to yes
+ (fix "MandrivaUpdate and urpmi show updated rpm, while rpmdrake
+ doesn't", #47305)
o manually list cedega, picasa, VariCAD, VariCAD_View &
VMware-Player as GUI packages (#50379)
o update GUI package list
diff --git a/rpmdrake.pm b/rpmdrake.pm
index f57b2bb4..c593fe22 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -46,6 +46,7 @@ our @ISA = qw(Exporter);
our $VERSION = '2.27';
our @EXPORT = qw(
$changelog_first_config
+ $compute_updates
$filter
$dont_show_selections
$ignore_debug_media
@@ -157,11 +158,12 @@ $ENV{HOME} = $> == 0 ? $root->[7] : $ENV{HOME} || '/root';
$ENV{HOME} = $::env if $::env = $Rpmdrake::init::rpmdrake_options{env}[0];
our $configfile = "$ENV{HOME}/.rpmdrake";
-our ($changelog_first_config, $filter, $max_info_in_descr, $mode, $tree_flat, $tree_mode);
+our ($changelog_first_config, $compute_updates, $filter, $max_info_in_descr, $mode, $tree_flat, $tree_mode);
our ($mandrakeupdate_wanted_categories, $ignore_debug_media, $offered_to_add_sources, $no_confirmation);
our ($rpmdrake_height, $rpmdrake_width, $mandrivaupdate_height, $mandrivaupdate_width);
our %config = (
changelog_first_config => { var => \$changelog_first_config, default => [ 0 ] },
+ compute_updates => { var => \$compute_updates, default => [ 1 ] },
dont_show_selections => { var => \$dont_show_selections, default => [ $> ? 1 : 0 ] },
filter => { var => \$filter, default => [ 'all' ] },
ignore_debug_media => { var => \$ignore_debug_media, default => [ 0 ] },