summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bdd63c4)
raw | patch | inline | side by side (parent: bdd63c4)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Apr 2008 11:20:36 +0000 (11:20 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Apr 2008 11:20:36 +0000 (11:20 +0000) |
Fixed syntax.
closes #417
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10459 594d385d-05f5-0310-b6e9-bd551577e9d8
closes #417
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10459 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/gosaTriggered.pm | patch | blob | history |
index 80f793e8df2c28c28bc444bb70c449edbee0643d..d9df2843517bee9cefa54bceda366a0b923c0277 100644 (file)
# Get Kernel packages for release
my $sql_statement = "SELECT * FROM $main::packages_list_tn WHERE distribution='$release' AND package LIKE 'linux\-image\-%'";
my $res_hash = $main::packages_list_db->select_dbentry($sql_statement);
+ my %data;
+ my $i=1;
+
foreach my $package (keys %{$res_hash}) {
- push @kernel, %{$res_hash}->{$package}->{'package'};
+ $data{"answer".$i++}= ${$res_hash}{$package}->{'package'};
}
- my %data = ('available-kernel' => \@kernel);
-
my $out_msg = &build_msg("get_available_kernel", $target, "GOSA", \%data);
return ( $out_msg );
}