mirror of
https://github.com/munki/munki.git
synced 2026-04-23 21:40:25 -05:00
makepkginfo now allows "naked" pre- and postuninstall_script options (that is, no package needed):
makepkginfo --preuninstall_script=/path/to/script makepkginfo --postuninstall_script=/path/to/script git-svn-id: http://munki.googlecode.com/svn/trunk@1199 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -441,6 +441,8 @@ def main():
|
||||
and not options.file
|
||||
and not options.preinstall_script
|
||||
and not options.postinstall_script
|
||||
and not options.preuninstall_script
|
||||
and not options.postuninstall_script
|
||||
and not options.uninstall_script):
|
||||
p.print_usage()
|
||||
exit(-1)
|
||||
@@ -604,7 +606,7 @@ def main():
|
||||
else:
|
||||
print >> sys.stderr, (
|
||||
"Item %s doesn't exist. Skipping." % fitem)
|
||||
|
||||
|
||||
if installs:
|
||||
catinfo['installs'] = installs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user