aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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