mirror of
https://github.com/munki/munki.git
synced 2026-05-04 03:20:19 -05:00
Merge branch 'Munki6dev' into swift-cli
This commit is contained in:
@@ -124,7 +124,7 @@ def extractAppBitsFromPkgArchive(archive_path, target_dir):
|
||||
'*.app/Contents/Info.plist',
|
||||
'*.app/Contents/Resources/*.icns']
|
||||
result = subprocess.call(cmd)
|
||||
if result != 0:
|
||||
if result != 0 and os.path.exists("/usr/bin/aa"):
|
||||
# pax failed. Maybe Apple Archive format?
|
||||
cmd = ["/usr/bin/aa", "extract",
|
||||
"-i", archive_path,
|
||||
|
||||
Reference in New Issue
Block a user