diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-22 13:05:00 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-25 11:28:02 +0100 |
commit | 59c5ad98206ce9e51826a3752bf8ce576b661ae6 (patch) | |
tree | b569e863304a0e472e249b0e2583298c183009c0 | |
parent | ce7729c60550f52c4e7e4703d6b1181f33830deb (diff) |
packages:osx: fix installer options
-rw-r--r-- | cerbero/packages/osx/distribution.py | 8 |
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: |