aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-08 07:55:27 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-08 07:55:27 +0000
commit0b2456565c8800afbf3f82cdae2cffb92d84e66a (patch)
tree2e4fe63d817f07a69581eb7984ad48882fa0d643
parent8f81239fc31a0e33790bb95b2c71b90c39ad888e (diff)
downloadrpmdrake-0b2456565c8800afbf3f82cdae2cffb92d84e66a.tar
rpmdrake-0b2456565c8800afbf3f82cdae2cffb92d84e66a.tar.gz
rpmdrake-0b2456565c8800afbf3f82cdae2cffb92d84e66a.tar.bz2
rpmdrake-0b2456565c8800afbf3f82cdae2cffb92d84e66a.tar.xz
rpmdrake-0b2456565c8800afbf3f82cdae2cffb92d84e66a.zip
provide --no-splash option in order to skip splash screen when run from
mdkapplet (#40366)
-rw-r--r--NEWS3
-rw-r--r--Rpmdrake/init.pm2
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e6eb390e..264c6da0 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@
- handle gracefully locked RPM DB when trying to install some packages
(#40244)
- warn only once about priority upgrades (#39737)
+- MandrivaUpdate:
+ o provide --no-splash option in order to skip splash screen when run
+ from mdkapplet (#40366)
- rpmdrake:
o do not list backports as unselected updates media in rpmdrake, not
just in MandrivaUpdate (#35009, #40556)
diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm
index 06415980..94e7a203 100644
--- a/Rpmdrake/init.pm
+++ b/Rpmdrake/init.pm
@@ -54,6 +54,7 @@ N(" --mode=MODE set mode (install (default), remove, update)"),
N(" --justdb update the database, but do not modify the filesystem"),
N(" --no-confirmation don't ask first confirmation question in update mode"),
N(" --no-media-update don't update media at startup"),
+N(" --no-splash don't ask first confirmation question in update mode"),
N(" --no-verify-rpm don't verify packages signatures"),
if_($0 !~ /MandrivaUpdate/, N(" --parallel=alias,host be in parallel mode, use \"alias\" group, use \"host\" machine to show needed deps")),
N(" --rpm-root=path use another root for rpm installation"),
@@ -151,6 +152,7 @@ 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 (!$> && !member($MODE, @$already_splashed)) {
interactive_msg(N("Welcome"),
N("%s