aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Urpmi.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-22 16:04:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-22 16:04:53 +0000
commit9ee1991ba3d656ff0dce92c7c8ed93e82b646a77 (patch)
tree92126932007508f7fa2805592e41b53c4bdb6352 /lib/Iurt/Urpmi.pm
parent9f92ede4ab253ecfbe9286155ee0f0f1013c9ac5 (diff)
downloadiurt-9ee1991ba3d656ff0dce92c7c8ed93e82b646a77.tar
iurt-9ee1991ba3d656ff0dce92c7c8ed93e82b646a77.tar.gz
iurt-9ee1991ba3d656ff0dce92c7c8ed93e82b646a77.tar.bz2
iurt-9ee1991ba3d656ff0dce92c7c8ed93e82b646a77.tar.xz
iurt-9ee1991ba3d656ff0dce92c7c8ed93e82b646a77.zip
enhance previous commit:
rename set_command__chroot into set_command__chrooted
Diffstat (limited to 'lib/Iurt/Urpmi.pm')
-rw-r--r--lib/Iurt/Urpmi.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index ec2e20c..307994f 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -54,7 +54,7 @@ sub set_command__use_distrib {
my ($self, $chroot_tmp) = @_;
$self->{urpmi_command} = "urpmi $self->{urpmi_options} --use-distrib $self->{distrib_url} --root $chroot_tmp";
}
-sub set_command__chroot {
+sub set_command__chrooted {
my ($self, $chroot_tmp) = @_;
$self->{urpmi_command} = "chroot $chroot_tmp urpmi $self->{urpmi_options} ";
}
@@ -168,7 +168,7 @@ sub urpmi_command {
add_media($self, $chroot_tmp, 'iurt_group', "iurt_group file:///iurt_media") or next;
}
- $self->set_command__chroot($chroot_tmp);
+ $self->set_command__chrooted($chroot_tmp);
return 1;
} else {
$self->set_command__use_distrib($chroot_tmp);