Mercurial > sdl-ios-xcode
diff Xcode/uninstall.csh @ 2207:d63e9f5944ae
Unpacked project archives to get individual file history in subversion
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 21 Jul 2007 17:09:01 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Xcode/uninstall.csh Sat Jul 21 17:09:01 2007 +0000 @@ -0,0 +1,32 @@ +#!/bin/csh + +### +## This script removes the Developer SDL package +### + +setenv HOME_DIR ~ + +sudo -v -p "Enter administrator password to remove SDL: " + +sudo rm -rf "$HOME_DIR/Library/Frameworks/SDL.framework" + +# will only remove the Frameworks dir if empty (since we put it there) +sudo rmdir "$HOME_DIR/Library/Frameworks" + +sudo rm -r "$HOME_DIR/Readme SDL Developer.txt" +sudo rm -r "/Developer/Documentation/SDL" +sudo rm -r "/Developer/Documentation/ManPages/man3/SDL"* +sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL Application" +sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL Cocoa Application" +sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL Custom Cocoa Application" +sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/SDL OpenGL Application" +sudo rm -r "/Developer/ProjectBuilder Extras/Target Templates/SDL" +sudo rm -r "/Library/Receipts/SDL-devel.pkg" + +# rebuild apropos database +sudo /usr/libexec/makewhatis + +unsetenv HOME_DIR + + +