Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zimbra
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
zimbra
Commits
2a9073fd
Commit
2a9073fd
authored
May 07, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
retrieve installed packages from envvar: $ZIMBRA_INSTALLED_PKGS
parent
3b024be8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
ZimbraBuild/rpmconf/Install/zmsetup.pl
ZimbraBuild/rpmconf/Install/zmsetup.pl
+7
-4
No files found.
ZimbraBuild/rpmconf/Install/zmsetup.pl
View file @
2a9073fd
...
@@ -607,10 +607,13 @@ sub isEnabled {
...
@@ -607,10 +607,13 @@ sub isEnabled {
sub
isInstalled
{
sub
isInstalled
{
my
$pkg
=
shift
;
my
$pkg
=
shift
;
# XXX SLAPOS hardcode the installed packages.
if
(
exists
$ENV
{'
ZIMBRA_INSTALLED_PKGS
'})
{
if
(
$pkg
eq
"
zimbra-store
"
||
$pkg
eq
"
zimbra-core
")
{
for
my
$p
(
split
(
/ /
,
$ENV
{'
ZIMBRA_INSTALLED_PKGS
'})
)
{
if
(
$p
eq
$pkg
)
{
return
1
;
return
1
;
}
};
};
};
my
$pkgQuery
;
my
$pkgQuery
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment