mirror of
https://github.com/jeremysrand/Apple2GSBuildPipeline.git
synced 2024-12-21 09:29:48 +00:00
Fix up the pre and post install scripts
This commit is contained in:
parent
9cbfcab099
commit
d887b5d054
@ -1,3 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
defaults write ~/Library/Developer/Xcode/Plug-ins/OrcaM.ideplugin/Contents/Info.plist DVTPlugInCompatibilityUUIDs -array $(defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID)
|
||||
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/OrcaM.ideplugin/Contents/Info.plist" DVTPlugInCompatibilityUUIDs -array-add "${UUID}"
|
||||
|
||||
|
@ -1,9 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
for item in ~/"Library/Developer/Xcode/Templates/Apple IIgs" ~/"Library/Developer/Xcode/Templates/File Templates/Apple IIgs"
|
||||
do
|
||||
if [ -d "$item" ]
|
||||
then
|
||||
rm -rf "$item"
|
||||
fi
|
||||
done
|
||||
rm -rf "$2/Templates/Apple IIgs"
|
||||
rm -rf "$2/Templates/File Templates/Apple IIgs"
|
||||
rm -rf "$2/Plug-ins/OrcaM.ideplugin"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user