0
|
1 #!/bin/sh
|
|
2 PACKAGEDIR="$1"
|
|
3 INSTALLDIR="$2"
|
|
4 echo
|
|
5 echo "Removing links from /usr/local/bin to the XEmacs binaries."
|
|
6 cd $INSTALLDIR/XEmacs.app/bin
|
|
7 for i in *; do /bin/rm -f /usr/local/bin/$i; done
|
|
8
|
|
9 echo "Removing links from /usr/local/man subdirectories to the XEmacs man pages."
|
|
10 cd $INSTALLDIR/XEmacs.app/man/man1
|
|
11 for i in *; do /bin/rm -f /usr/local/man/man1/$i; done
|
|
12 /bin/rm -f /usr/local/man/man1/condom.1 /usr/local/man/man1/celibacy.1 /usr/local/man/man6/sex.6
|
|
13
|
|
14 echo "Removing link from /usr/local/lib/xemacs-19.13 to the XEmacs library directory."
|
|
15 /bin/rm -f /usr/local/lib/xemacs-19.13
|
|
16
|
|
17 echo "Done."
|
|
18 exit 0
|