diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-04-29 15:19:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-04-29 15:19:59 +0000 |
commit | 0bf13de5554f7730393d7631aeff3b0083d6743d (patch) | |
tree | 1efb5507e1539b1df7b2a9b30996d56148aa3ab8 /rpmdrake.pm | |
parent | ea6ea73911a914229b8aa25b5791b275e96262e8 (diff) | |
download | rpmdrake-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)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 4 |
1 files changed, 3 insertions, 1 deletions
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 ] }, |