Xcode/uninstall.csh
author Sam Lantinga
Fri, 19 Oct 2012 21:17:58 -0700
changeset 6590 e85b6a9ec38d
parent 2207 d63e9f5944ae
permissions -rwxr-xr-x
tree 451ddf291d85
parent 7925f0f43dc4
author Edward Rudd <urkle@outoforder.cc> 1350500747 14400
committer Edward Rudd <urkle@outoforder.cc> 1350500747 14400
revision 6591
branch default

A few fixes to the SDL framework plist

- correct version number
- remove CFBundleExecutable
- correct CFBundleIdentifier
     1 #!/bin/csh
     2 
     3 ###
     4 ## This script removes the Developer SDL package
     5 ###
     6 
     7 setenv HOME_DIR ~
     8 
     9 sudo -v -p "Enter administrator password to remove SDL: "
    10 
    11 sudo rm -rf "$HOME_DIR/Library/Frameworks/SDL.framework"
    12 
    13 # will only remove the Frameworks dir if empty (since we put it there)
    14 sudo rmdir "$HOME_DIR/Library/Frameworks"
    15 
    16 sudo rm -r "$HOME_DIR/Readme SDL Developer.txt"
    17 sudo rm -r "/Developer/Documentation/SDL"
    18 sudo rm -r "/Developer/Documentation/ManPages/man3/SDL"*
    19 sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL Application"
    20 sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL Cocoa Application"
    21 sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL Custom Cocoa Application"
    22 sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL OpenGL Application"
    23 sudo rm -r "/Developer/ProjectBuilder Extras/Target Templates/SDL"
    24 sudo rm -r "/Library/Receipts/SDL-devel.pkg"
    25 
    26 # rebuild apropos database
    27 sudo /usr/libexec/makewhatis
    28 
    29 unsetenv HOME_DIR
    30 
    31 
    32