mirror of
https://github.com/munki/munki.git
synced 2026-05-08 05:19:31 -05:00
Minor message and comment update
Comment regarding limitations to installing Apple updates removed from managedsoftwareupdate. Warning message regarding missing 'installs/receipts' on import of an '--apple-update' item is not displayed.
This commit is contained in:
@@ -231,9 +231,7 @@ def doInstallTasks(do_apple_updates, only_unattended=False):
|
||||
raise
|
||||
|
||||
if do_apple_updates:
|
||||
# (note we do not currently support doing Apple updates
|
||||
# as unattended_installs. Support may be added in the future)
|
||||
# are we supposed to handle Apple Software Updates?
|
||||
# install Apple updates
|
||||
try:
|
||||
need_to_restart = appleupdates.installAppleUpdates(
|
||||
only_unattended=only_unattended)
|
||||
|
||||
@@ -784,11 +784,12 @@ def main():
|
||||
pkginfo['catalogs'] = [item.strip()
|
||||
for item in newvalue.split(',')]
|
||||
|
||||
if 'receipts' not in pkginfo and 'installs' not in pkginfo:
|
||||
print >> sys.stderr, ('WARNING: There are no receipts and no '
|
||||
'\'installs\' items for this installer '
|
||||
'item. You will need to add at least one '
|
||||
'item to the \'installs\' list.')
|
||||
if not APPLEMETADATA:
|
||||
if 'receipts' not in pkginfo and 'installs' not in pkginfo:
|
||||
print >> sys.stderr, ('WARNING: There are no receipts and no '
|
||||
'\'installs\' items for this installer '
|
||||
'item. You will need to add at least '
|
||||
'one item to the \'installs\' list.')
|
||||
#TO-DO: provide a way to add 'installs' items right here
|
||||
|
||||
print
|
||||
|
||||
Reference in New Issue
Block a user