Skip to content

Instantly share code, notes, and snippets.

@mrzarquon
Created March 23, 2012 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrzarquon/2175043 to your computer and use it in GitHub Desktop.
Save mrzarquon/2175043 to your computer and use it in GitHub Desktop.
Quick way to drop a file anywhere with luggage
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