From d9a61c7c8925ad260490957eceed06cbcfc310f8 Mon Sep 17 00:00:00 2001 From: janw Date: Wed, 9 Apr 2008 07:10:06 +0000 Subject: [PATCH] Fixed sources_list creation. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10286 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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"; + } } } } -- 2.30.2