diff options
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-x | drakwizard.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drakwizard.pl b/drakwizard.pl index 6036a475..b8ce3f29 100755 --- a/drakwizard.pl +++ b/drakwizard.pl @@ -84,7 +84,7 @@ sub wizard { if ($> && !$o->{allow_user} && !$::testing) { require_root_capability(); } - check_rpm($o->{needed_rpm}) if $o->{needed_rpm}; + check_rpm_local($o->{needed_rpm}) if $o->{needed_rpm}; if (defined $o->{init}) { my ($res, $msg) = &{$o->{init}}; if (!$res) { @@ -134,7 +134,8 @@ sub wizard { } } -sub check_rpm { +## fix duplicate check_rpm with /usr/lib/libDrakX/wizards.pm +sub check_rpm_local { my ($rpms) = @_; foreach my $rpm (@$rpms) { if (!$in->do_pkgs->is_installed($rpm)) { |