From: janw Date: Wed, 9 Apr 2008 07:10:06 +0000 (+0000) Subject: Fixed sources_list creation. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d9a61c7c8925ad260490957eceed06cbcfc310f8;p=gosa.git Fixed sources_list creation. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10286 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 9d48dc4ff..41dd27a5c 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1889,11 +1889,13 @@ sub create_sources_list { ); if($mesg->count) { foreach my $entry(@{$mesg->{'entries'}}) { - my ($server, $tag, $release, $sections)= split /\|/, $entry->get_value('FAIrepository'); - my $line = "deb $server $release"; - $sections =~ s/,/ /g; - $line.= " $sections"; - print $fh $line."\n"; + foreach my $value(@{$entry->get_value('FAIrepository', asref => 1)}) { + my ($server, $tag, $release, $sections)= split /\|/, $value; + my $line = "deb $server $release"; + $sections =~ s/,/ /g; + $line.= " $sections"; + print $fh $line."\n"; + } } } }