Commit d7699cc9 authored by Marco Mariani's avatar Marco Mariani

hardcode installed packages

parent eabda269
......@@ -115,15 +115,9 @@ my %packageServiceMap = (
convertd => "zimbra-convertd",
);
my %installedPackages = (
"zimbra-core" => "zimbra-core",
"zimbra-store" => "zimbra-store",
);
my %installedPackages = ();
my %prevInstalledPackages = ();
my %enabledPackages = (
"zimbra-core" => "Enabled",
"zimbra-store" => "Enabled",
);
my %enabledPackages = ();
my %enabledServices = ();
my $zimbraHome = "/opt/zimbra";
......@@ -613,6 +607,11 @@ sub isEnabled {
sub isInstalled {
my $pkg = shift;
# XXX SLAPOS hardcode the installed packages.
if ($pkg eq "zimbra-store" || $pkg eq "zimbra-core") {
return 1;
}
my $pkgQuery;
my $good = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment