diff --git a/sos-build-macos-plist.sh b/sos-build-macos-plist.sh new file mode 100644 index 0000000..275eb90 --- /dev/null +++ b/sos-build-macos-plist.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +if [ "`whereis plistconvert`" = "" ] ; then + sudo curl -sL https://phimage.github.io/plistconvert/install.sh | bash +fi + +jq ".policies|.EnterprisePoliciesEnabled=true" < ./Files/distribution/policies.json > /tmp/policies.json +plistconvert -o Files/distribution/org.mozilla.firefox.plist --convert plist /tmp/policies.json +