diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-05-08 07:55:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-05-08 07:55:27 +0000 |
commit | 0b2456565c8800afbf3f82cdae2cffb92d84e66a (patch) | |
tree | 2e4fe63d817f07a69581eb7984ad48882fa0d643 /Rpmdrake/init.pm | |
parent | 8f81239fc31a0e33790bb95b2c71b90c39ad888e (diff) | |
download | rpmdrake-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)
Diffstat (limited to 'Rpmdrake/init.pm')
-rw-r--r-- | Rpmdrake/init.pm | 2 |
1 files changed, 2 insertions, 0 deletions
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 |