mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
python build script: fix for fresh install
This commit is contained in:
parent
cc0c168685
commit
4326182b02
@ -354,6 +354,8 @@ def get_installed_packages(quiet=False):
|
|||||||
|
|
||||||
# first, get the mapping from tarnames to package names for all available packages
|
# first, get the mapping from tarnames to package names for all available packages
|
||||||
package_list_filename = os.path.join(data_path, "package-list.xml")
|
package_list_filename = os.path.join(data_path, "package-list.xml")
|
||||||
|
if not os.path.exists(package_list_filename):
|
||||||
|
return []
|
||||||
catalogues = xml_read_helper(package_list_filename, "package-list", "catalogue")
|
catalogues = xml_read_helper(package_list_filename, "package-list", "catalogue")
|
||||||
|
|
||||||
packages_by_tarname = {}
|
packages_by_tarname = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user