diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-02-04 12:14:28 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-02-04 12:14:28 +0000 |
commit | e82c0095e350b0e0abf2ba7b2b09e563a6f7308b (patch) | |
tree | 8e35620befa4f68340a95c8110210dd68a41e045 /park-rpmdrake | |
parent | e2db4284fbf843f8ef0a5da15ca8fefa320f7a5f (diff) | |
download | rpmdrake-e82c0095e350b0e0abf2ba7b2b09e563a6f7308b.tar rpmdrake-e82c0095e350b0e0abf2ba7b2b09e563a6f7308b.tar.gz rpmdrake-e82c0095e350b0e0abf2ba7b2b09e563a6f7308b.tar.bz2 rpmdrake-e82c0095e350b0e0abf2ba7b2b09e563a6f7308b.tar.xz rpmdrake-e82c0095e350b0e0abf2ba7b2b09e563a6f7308b.zip |
install urpmi-parallel-ssh or urpmi-parallel-ka-run when needed
Diffstat (limited to 'park-rpmdrake')
-rwxr-xr-x | park-rpmdrake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/park-rpmdrake b/park-rpmdrake index 627d2968..aecc8ca1 100755 --- a/park-rpmdrake +++ b/park-rpmdrake @@ -470,6 +470,11 @@ Do you really want to use this network?")); $group->{name} eq $orig_name || every { $group->{name} ne $_->{name} } @$groups or $in->ask_warn(N("Error"), N("Name already used")), return 0; + (my $pkg_for_protocol = "urpm::parallel_$group->{protocol}") =~ s/-/_/g; + if (! eval "require $pkg_for_protocol; 1") { + $in->do_pkgs->ensure_is_installed("urpmi-parallel-$group->{protocol}") or return; + } + populated_networks_to_raw_hosts($group); write_parallel_config($groups); 1; |