From 0777ba47c501cfb62b96ac28e153039b111ca3b1 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Wed, 1 Apr 2015 15:50:26 +0200 Subject: Fixed dragoraUpdate crash if --help is passed to command line --- lib/ManaTools/Rpmdragora/init.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ManaTools') 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"), -- cgit v1.2.1