diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-04-01 15:50:26 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-04-01 15:50:26 +0200 |
commit | 0777ba47c501cfb62b96ac28e153039b111ca3b1 (patch) | |
tree | c3fc62014db82ce0ec86e0adb23ea5dc82d1a75c /lib | |
parent | 0f366fc21d5b0f5014db12a650a70700d0114188 (diff) | |
download | manatools-0777ba47c501cfb62b96ac28e153039b111ca3b1.tar manatools-0777ba47c501cfb62b96ac28e153039b111ca3b1.tar.gz manatools-0777ba47c501cfb62b96ac28e153039b111ca3b1.tar.bz2 manatools-0777ba47c501cfb62b96ac28e153039b111ca3b1.tar.xz manatools-0777ba47c501cfb62b96ac28e153039b111ca3b1.zip |
Fixed dragoraUpdate crash if --help is passed to command line
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ManaTools/Rpmdragora/init.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ManaTools/Rpmdragora/init.pm b/lib/ManaTools/Rpmdragora/init.pm index f6d570d9..f28af34e 100644 --- a/lib/ManaTools/Rpmdragora/init.pm +++ b/lib/ManaTools/Rpmdragora/init.pm @@ -27,7 +27,7 @@ package ManaTools::Rpmdragora::init; # $Id: init.pm 263915 2009-12-03 17:41:04Z tv $ use strict; -use MDK::Common::Func 'any'; +use MDK::Common::Func qw(any if_); use English; BEGIN { $::no_global_argv_parsing = 1 } require urpm::args; @@ -65,7 +65,7 @@ $loc->N(" --justdb update the database, but do not modify the fil $loc->N(" --no-confirmation don't ask first confirmation question in update mode"), $loc->N(" --no-media-update don't update media at startup"), $loc->N(" --no-verify-rpm don't verify package signatures"), -if_($0 !~ /MageiaUpdate/, $loc->N(" --parallel=alias,host be in parallel mode, use \"alias\" group, use \"host\" machine to show needed deps")), +if_($0 !~ /dragoraUpdate/, $loc->N(" --parallel=alias,host be in parallel mode, use \"alias\" group, use \"host\" machine to show needed deps")), $loc->N(" --rpm-root=path use another root for rpm installation"), $loc->N(" --urpmi-root use another root for urpmi db & rpm installation"), $loc->N(" --run-as-root force to run as root"), |