File: uninstall.csh

package info (click to toggle)
libphysfs 1.0.0-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,864 kB
  • ctags: 2,506
  • sloc: ansic: 16,876; sh: 8,287; ruby: 461; makefile: 279; cpp: 207; perl: 16; csh: 13
file content (29 lines) | stat: -rwxr-xr-x 780 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/csh

###
## This script removes the Developer physfs package
###

setenv HOME_DIR ~

sudo -v -p "Enter administrator password to remove physfs: "

sudo rm -rf "$HOME_DIR/Library/Frameworks/physfs.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 physfs Developer.txt"
sudo rm -r "/Developer/Documentation/physfs"
sudo rm -r "/Developer/Documentation/ManPages/man1/physfs"*
#sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/physfs Application"
#sudo rm -r "/Developer/ProjectBuilder Extras/Target Templates/physfs"
sudo rm -r "/Library/Receipts/physfs-devel.pkg"

# rebuild apropos database
sudo /usr/libexec/makewhatis

unsetenv HOME_DIR