diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-02-04 11:16:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-02-04 11:16:43 +0000 |
commit | 1504ce98a1ca6c3d82ff5b5a2e91d4bb79be938e (patch) | |
tree | 88b43d32003abfca6623da95fa19af79f0fa6af4 /park-rpmdrake | |
parent | 417c8d0e1020ccac04575a1f038a00d7cd196c78 (diff) | |
download | rpmdrake-1504ce98a1ca6c3d82ff5b5a2e91d4bb79be938e.tar rpmdrake-1504ce98a1ca6c3d82ff5b5a2e91d4bb79be938e.tar.gz rpmdrake-1504ce98a1ca6c3d82ff5b5a2e91d4bb79be938e.tar.bz2 rpmdrake-1504ce98a1ca6c3d82ff5b5a2e91d4bb79be938e.tar.xz rpmdrake-1504ce98a1ca6c3d82ff5b5a2e91d4bb79be938e.zip |
ensure there is the default networks if we don't have any networks
Diffstat (limited to 'park-rpmdrake')
-rwxr-xr-x | park-rpmdrake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/park-rpmdrake b/park-rpmdrake index bd081374..627d2968 100755 --- a/park-rpmdrake +++ b/park-rpmdrake @@ -375,6 +375,9 @@ sub group_modify { $add_host->($network); } }; + if (!@{$group->{networks}}) { + $group->{networks} = default_networks(); + } populate_networks_with_raw_hosts($group); $add_network->($_) foreach @{$group->{networks}}; |