Identifier local.munki.MH-Dropbox Input BUILD stable DOWNLOADURL https://www.dropbox.com/download?plat=mac&full=1&build=%BUILD% MUNKI_REPO_SUBDIR apps/Dropbox NAME Dropbox pkginfo catalogs testing description Dropbox is a free service that lets you bring all your photos, docs, and videos anywhere. This means that any file you save to your Dropbox will automatically save to all your computers, phones and even the Dropbox website. display_name Dropbox name %NAME% postinstall_script #!/bin/sh # based on Ruby postinstall script by Riley Shott: # https://groups.google.com/group/munki-dev/browse_thread/thread/a2813e7f62535f13/63d127534541f863 # modifications: # - always extract the helper tool with each install instead of skipping if it exists # - remove xattr com.apple.quarantine removal, as Munki will have already done this upon # installation; normal autopkg runs also won't quarantine the download to begin with HELPER_SRC_PATH=/Applications/Dropbox.app/Contents/Resources/DropboxHelperInstaller.tgz HELPER_DST_DIR=/Library/DropboxHelperTools HELPER_DST_PATH="$HELPER_DST_DIR/DropboxHelperInstaller" if [ -e "$HELPER_SRC_PATH" ]; then [ -d "$HELPER_DST_DIR" ] || mkdir "$HELPER_DST_DIR" /usr/bin/tar -C "$HELPER_DST_DIR" -xz -f "$HELPER_SRC_PATH" /usr/sbin/chown root:wheel "$HELPER_DST_PATH" "$HELPER_DST_DIR" /bin/chmod 04511 "$HELPER_DST_PATH" else echo "Expected $HELPER_SRC_PATH, but it was not present in the Dropbox dmg." exit 1 fi unattended_install ParentRecipe com.github.autopkg.munki.dropbox ParentRecipeTrustInfo non_core_processors parent_recipes com.github.autopkg.download.dropbox git_hash 21b93d9308f8bc74c71d4c02c22ae0d62e1d315f path /Volumes/MHServerData/munki_repo/repos/com.github.autopkg.recipes/Dropbox/Dropbox.download.recipe sha256_hash 05c6338a14e314367f5bf6fb1b79fc63e98cafcb5faf2b63050ebac99251d3b2 com.github.autopkg.munki.dropbox git_hash 4e22128ce818615c5d4c0ea88da263714510f37e path /Volumes/MHServerData/munki_repo/repos/com.github.autopkg.recipes/Dropbox/Dropbox.munki.recipe sha256_hash 422c730aae40465b09306ae6b5c51bc78fce0d3667ee9e9ce0a3369b786828b4