aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-04 16:15:11 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-04 16:15:11 +0000
commit2c78f3d926ced51781376d3a4723376851322dce (patch)
treef8c33ed6e1417b4ea1e32d3a8741258cf9e3c082
parent65558fbd0a870c25efc26c3a1c3accf4e7f6a9a7 (diff)
downloadrpmdrake-2c78f3d926ced51781376d3a4723376851322dce.tar
rpmdrake-2c78f3d926ced51781376d3a4723376851322dce.tar.gz
rpmdrake-2c78f3d926ced51781376d3a4723376851322dce.tar.bz2
rpmdrake-2c78f3d926ced51781376d3a4723376851322dce.tar.xz
rpmdrake-2c78f3d926ced51781376d3a4723376851322dce.zip
kill now useless 'already_splashed' option
-rw-r--r--Rpmdrake/init.pm1
-rw-r--r--rpmdrake.pm4
2 files changed, 1 insertions, 4 deletions
diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm
index 4982c7f1..c73ec775 100644
--- a/Rpmdrake/init.pm
+++ b/Rpmdrake/init.pm
@@ -156,7 +156,6 @@ but you may still browse the existing database."), yesno => 1, text => { no => N
sub init() {
URPM::bind_rpm_textdomain_codeset();
- push @$already_splashed, $MODE if $rpmdrake_options{'no-splash'};
if (!$> && !$offered_to_add_sources->[0]) {
if (interactive_msg(N("Welcome"),
join("\n\n",
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 0c8f5835..f39bcffa 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -45,7 +45,6 @@ use feature 'state';
our @ISA = qw(Exporter);
our $VERSION = '2.27';
our @EXPORT = qw(
- $already_splashed
$changelog_first_config
$filter
$dont_show_selections
@@ -153,12 +152,11 @@ my ($root) = grep { $_->[2] == 0 } list_passwd();
$ENV{HOME} = $> == 0 ? $root->[7] : $ENV{HOME} || '/root';
our $configfile = "$ENV{HOME}/.rpmdrake";
-our ($already_splashed, $changelog_first_config, $filter, $max_info_in_descr, $mode, $tree_flat, $tree_mode);
+our ($changelog_first_config, $filter, $max_info_in_descr, $mode, $tree_flat, $tree_mode);
our ($mandrakeupdate_wanted_categories, $offered_to_add_sources, $no_confirmation);
our ($rpmdrake_height, $rpmdrake_width, $mandrivaupdate_height, $mandrivaupdate_width);
our %config = (
mandrakeupdate_wanted_categories => { var => \$mandrakeupdate_wanted_categories, default => [ qw(security) ] },
- already_splashed => { var => \$already_splashed, default => [] },
dont_show_selections => { var => \$dont_show_selections, default => [ $> ? 1 : 0 ] },
mandrivaupdate_width => { var => \$mandrivaupdate_width, default => [ 0 ] },
mandrivaupdate_height => { var => \$mandrivaupdate_height, default => [ 0 ] },