mirror of
https://github.com/munki/munki.git
synced 2026-03-11 20:19:24 -05:00
Merge pull request #532 from munki/samuel-munkiimport
Don't offer to create icons for profiles or Apple metadata
This commit is contained in:
@@ -1026,7 +1026,8 @@ def main():
|
||||
options.subdirectory = promptForSubdirectory(
|
||||
options.subdirectory)
|
||||
|
||||
if not iconExistsInRepo(pkginfo) and not options.icon_path:
|
||||
if (not iconExistsInRepo(pkginfo) and not options.icon_path and not
|
||||
APPLEMETADATA and not pkginfo.get('installer_type') == 'profile'):
|
||||
print 'No existing product icon found.'
|
||||
answer = raw_input('Attempt to create a product icon? [y/n] ')
|
||||
if answer.lower().startswith('y'):
|
||||
|
||||
Reference in New Issue
Block a user