Created
April 10, 2014 15:02
-
-
Save groob/10391608 to your computer and use it in GitHub Desktop.
setupassistant makefile
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
USE_PKGBUILD=1 | |
include /usr/local/share/luggage/luggage.make | |
TITLE=DisableSetupAssistant | |
PACKAGE_VERSION=1.0.1 | |
REVERSE_DOMAIN=edu.whitby | |
PAYLOAD=prep-var-db-AppleSetupDone \ | |
prep-Library-SetupRegComplete | |
# apply Lion-specific perms fix: | |
modify_packageroot: | |
@sudo chgrp wheel ${WORK_D}/Library | |
@sudo chmod 755 ${WORK_D}/Library | |
prep-var-db-AppleSetupDone: l_var_db | |
@sudo touch ${WORK_D}/var/db/.AppleSetupDone | |
@sudo chown root:wheel ${WORK_D}/var/db/.AppleSetupDone | |
@sudo chmod 600 ${WORK_D}/var/db/.AppleSetupDone | |
prep-Library-SetupRegComplete: l_Library_Receipts | |
@sudo touch ${WORK_D}/Library/Receipts/.SetupRegComplete | |
@sudo chown root:admin ${WORK_D}/Library/Receipts/.SetupRegComplete | |
@sudo chmod 400 ${WORK_D}/Library/Receipts/.SetupRegComplete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment