Created
March 23, 2012 21:02
-
-
Save mrzarquon/2175043 to your computer and use it in GitHub Desktop.
Quick way to drop a file anywhere with luggage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include /usr/local/share/luggage/luggage.make | |
TITLE=Jamf_Foo | |
REVERSE_DOMAIN=org.angrydome | |
DESTINATIONFOLDER="/Library/Application Support/JAMF/Self Service/Plug-ins/" | |
FILEPAYLOAD="foobar" | |
PACKAGE_VERSION=`/usr/bin/git rev-parse --verify HEAD | /usr/bin/cut -c1-10` | |
PAYLOAD=\ | |
foo | |
foo: | |
@sudo mkdir -p ${WORK_D}${DESTINATIONFOLDER} | |
@sudo ${CP} -R ${FILEPAYLOAD} ${WORK_D}${DESTINATIONFOLDER} | |
@sudo chown root:wheel ${WORK_D}${DESTINATIONFOLDER} | |
@sudo chmod 0644 ${WORK_D}${DESTINATIONFOLDER} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment