summaryrefslogtreecommitdiffstats
path: root/drakwizard.pl
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-03-25 11:39:04 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-03-25 11:39:04 +0000
commit655c7b1953a9288c3a02773208a2e1896a2d7c44 (patch)
treef76a8b8db9775a1f4bcb70341f09903015c59140 /drakwizard.pl
parentc06cfc889f1d125e3f6e07db553c91b0a515e1fc (diff)
downloaddrakwizard-655c7b1953a9288c3a02773208a2e1896a2d7c44.tar
drakwizard-655c7b1953a9288c3a02773208a2e1896a2d7c44.tar.gz
drakwizard-655c7b1953a9288c3a02773208a2e1896a2d7c44.tar.bz2
drakwizard-655c7b1953a9288c3a02773208a2e1896a2d7c44.tar.xz
drakwizard-655c7b1953a9288c3a02773208a2e1896a2d7c44.zip
rename check_rpm to check_rpm_local (misc)
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-xdrakwizard.pl5
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)) {