summaryrefslogtreecommitdiff
path: root/cerbero
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-03-22 12:05:00 (GMT)
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-03-25 10:28:02 (GMT)
commit59c5ad98206ce9e51826a3752bf8ce576b661ae6 (patch)
treeb569e863304a0e472e249b0e2583298c183009c0 /cerbero
parentce7729c60550f52c4e7e4703d6b1181f33830deb (diff)
downloadcerbero-59c5ad98206ce9e51826a3752bf8ce576b661ae6.tar.gz
cerbero-59c5ad98206ce9e51826a3752bf8ce576b661ae6.tar.xz
packages:osx: fix installer options
Diffstat (limited to 'cerbero')
-rw-r--r--cerbero/packages/osx/distribution.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/cerbero/packages/osx/distribution.py b/cerbero/packages/osx/distribution.py
index b4acf28..8face50 100644
--- a/cerbero/packages/osx/distribution.py
+++ b/cerbero/packages/osx/distribution.py
@@ -131,9 +131,11 @@ class DistributionXML(object):
def _add_choice(self, package, enabled, selected):
choice = etree.SubElement(self.root, self.TAG_CHOICE,
id=package.identifier(), title=package.shortdesc,
- description=package.longdesc,
- starts_selected=self._boolstr(selected),
- starts_enabled=self._boolstr(enabled))
+ description=package.longdesc)
+ if not selected:
+ choice.set('start_selected', 'false')
+ if not enabled:
+ choice.set('start_enabled', 'false')
packages = [package] + self.store.get_package_deps(package)
for package in packages: