From 9ee1991ba3d656ff0dce92c7c8ed93e82b646a77 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 22 Nov 2007 16:04:53 +0000 Subject: enhance previous commit: rename set_command__chroot into set_command__chrooted --- lib/Iurt/Urpmi.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Iurt') 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); -- cgit v1.2.1