comparison etc/ns/XEmacs.post_install @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:376386a54a3c
1 #!/bin/sh
2 PACKAGEDIR="$1"
3 INSTALLDIR="$2"
4 echo
5 echo "Creating links from /usr/local/bin to the XEmacs binaries."
6 /bin/mkdirs /usr/local/bin
7 /bin/ln -s $INSTALLDIR/XEmacs.app/bin/* /usr/local/bin
8
9 echo "Creating links from /usr/local/man subdirectories to the XEmacs man pages."
10 /bin/mkdirs /usr/local/man/man1 /usr/local/man/man6
11 /bin/ln -s $INSTALLDIR/XEmacs.app/man/man1/* $INSTALLDIR/XEmacs.app/lib/xemacs-*/etc/celibacy.1 $INSTALLDIR/XEmacs.app/lib/xemacs-*/etc/condom.1 /usr/local/man/man1
12 /bin/ln -s $INSTALLDIR/XEmacs.app/lib/xemacs-*/etc/sex.6 /usr/local/man/man6
13
14 echo "Creating a link from /usr/local/lib/xemacs-19.13 to the XEmacs library directory."
15 /bin/mkdirs /usr/local/lib
16 /bin/ln -s $INSTALLDIR/XEmacs.app/lib/xemacs-19.13 /usr/local/lib
17
18 echo "Done."
19 exit 0