Greg Neagle
f8cf138790
Remove empty line from app_usage/postinstall
2018-04-09 10:48:02 -07:00
Greg Neagle
8532574aa9
As suggested by @eholtam, use launchctl asuser instead of launchctl bsexec on 10.10+ in app_usage pkg pre- and postinstall scripts.
2018-04-09 08:25:05 -07:00
Greg Neagle
62dd7700fd
Refactor app_usage_monitor into user-level agent and privileged daemon.
2018-04-07 19:10:16 -07:00
Wesley Whetstone
3c3bb7b093
importing "os" so launchctld function will actually work
2017-02-28 11:46:39 -08:00
Greg Neagle
93323112bb
Add launchdaemon for app_usage_monitor; add build of app_usage package to make_munki_mpkg.sh
2017-02-16 09:12:40 -08:00
Erik Gomez
19383a3f69
use sys.argv[3] instead of os.environ['DSTVOLUME']
...
Also only attempt to load the launchd's if the volume is '/'
2017-01-11 16:16:48 -08:00
Erik Gomez
1120098377
add DSTVOLUME environmental variable
2017-01-11 09:49:48 -08:00
Erik Gomez
0bc9ecc462
launchd typo
2017-01-10 17:37:26 -08:00
Erik Gomez
2f2364a0cd
fix postinstall os.path.join
2017-01-10 17:26:43 -08:00
Erik Gomez
89de95bd24
add distribution script and launchd pkg postinstall
2017-01-10 16:50:01 -08:00
Greg Neagle
05dae35e23
Revert "Merge pull request #502 from munki/msulink"
...
This reverts commit 6bb4936be8 , reversing
changes made to c2239c5de8 .
2015-08-19 12:03:07 -07:00
Samuel Keeley
0b06bca521
spaces not tabs
2015-07-31 06:36:22 -07:00
Samuel Keeley
917159f1ab
only create Managed Software Update.app symlink if it previously existed.
2015-07-31 06:32:40 -07:00
Greg Neagle
f58fdd7a2c
Build app pkg with preinstall script
2014-05-28 12:18:32 -07:00
Greg Neagle
e046baeff4
Still trying to fix pkgtemplate
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1130 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-19 16:00:13 +00:00
Greg Neagle
a3f1c10747
Still trying to fix pkgtemplate
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1129 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-19 15:58:51 +00:00
Greg Neagle
96d1c5be19
Still trying to fix pkgtemplate commits
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1128 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-19 15:50:25 +00:00
Greg Neagle
c3419a0fa2
Attempt to fix earlier botched commit.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1127 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-19 15:39:54 +00:00
Greg Neagle
d253ca90a7
Missed commit of pkgtemplate/Resources_admin
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1126 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-19 15:15:51 +00:00
Greg Neagle
50e05de8d4
New make_munki_mpkg.sh script and pkgtemplate resources.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1122 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-18 19:20:18 +00:00
Greg Neagle
681acae624
Add MCX support, based on code contribution from Dan Roque.
...
Other minor clean-ups.
git-svn-id: http://munki.googlecode.com/svn/trunk@973 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-12-13 20:11:22 +00:00
MagerValp
d68f837aff
Added script for creating a metapackage distribution of munki.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@883 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-28 22:19:18 +00:00
MagerValp
22a1d254d6
Partial packages now have a unique package ID, e.g com.googlecode.munki.usr if you build a package with only /usr/local.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@866 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-26 16:35:18 +00:00
MagerValp
e68c35172f
Updated the package creation script:
...
• Package version is calculated from munki version and svn revision.
• Package info and resources are set up before calling packagemaker.
• Package creation is made mainly with standard user privileges, sudo is used where necessary.
• It's now possible to build partial packages by specifying one or more of Applications, Library, and usr (everything is included by default).
A little more work is needed to build flat packages due to differences in package information handling.
git-svn-id: http://munki.googlecode.com/svn/trunk@836 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-21 16:46:13 +00:00