diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-22 12:26:47 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-25 11:28:02 +0100 |
commit | 1e17b09b9a9390848a64d1b4a40c528264642f04 (patch) | |
tree | 240393934bbe127fc7bc6105e49d481bfd59898e | |
parent | 6d0fb8256b2892a50c9076924e52e00afaaee1a6 (diff) |
packages:osx: pass the home/system install location correctly
-rw-r--r-- | cerbero/packages/osx/packager.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cerbero/packages/osx/packager.py b/cerbero/packages/osx/packager.py index 51bdd8b..477e701 100644 --- a/cerbero/packages/osx/packager.py +++ b/cerbero/packages/osx/packager.py @@ -215,6 +215,7 @@ class ProductPackage(PackagerBase): ''' PKG_EXT = '.pkg' + home_folder = False def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) @@ -293,7 +294,7 @@ class ProductPackage(PackagerBase): distro = DistributionXML(self.package, self.store, self.tmp, self.packages_paths[package_type], self.empty_packages[package_type], package_type, - self.config.target_arch, home_folder=True) + self.config.target_arch, home_folder=self.home_folder) distro_path = tempfile.NamedTemporaryFile().name distro.write(distro_path) output_file = os.path.join(self.output_dir, self._package_name('.pkg')) @@ -419,6 +420,8 @@ class IOSPackage(ProductPackage, FrameworkHeadersMixin): The product package will only contain the ios-framework package ''' + home_folder = True + def pack(self, output_dir, devel=False, force=False, keep_temp=False): PackagerBase.pack(self, output_dir, devel, force, keep_temp) |