Apple2BuildPipeline/pkg/scripts/postinstall

12 lines
296 B
Plaintext
Raw Normal View History

#!/bin/bash
if [ ! -f /Applications/Xcode.app/Contents/Info.plist ]
then
exit 0
fi
UUID=`defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID`
defaults write "$2/Plug-ins/cc65.ideplugin/Contents/Info.plist" DVTPlugInCompatibilityUUIDs -array-add "${UUID}"