osx/custompkg/scripts/postinstall

12 lines
286 B
Plaintext
Raw Normal View History

2016-09-30 05:06:32 +00:00
#!/bin/bash
# disable firstboot/oobe prompts
touch "$3"/var/db/.AppleDiagnosticsSetupDone
touch "$3"/var/db/.AppleSetupDone
chmod a+rx "$3"/usr/local/bin/*
chmod -R a+rX "$3"/etc/skel
2016-10-08 00:37:22 +00:00
2016-10-27 18:19:01 +00:00
# silence stupid java-not-installed popups:
rm -rf "$3"/System/Library/Frameworks/JavaVM.framework