From: macnerd <ma...@re...> - 2002-03-02 01:52:16
|
I wanted to research for to use a NeXTSTEP .pkg format, so that things are auto-install and more transparent. Though, we could do the .dmg tarball for now and slide into the .pkg later. -----Original Message----- From: tcl...@li... [mailto:tcl...@li...]On Behalf Of Jason Sonnenschein Sent: Friday, March 01, 2002 7:20 AM To: tc...@li... Subject: [MACTCL] OS X tcl/tk installation Hi all, I was thinking about how to make the installation a bit easier for the end user. Would the maintainers consider making a dmg file with the tarball and an installation shell script? Off the top of my head... something like: #!/bin/sh touch /.can_i_write > /dev/null 2>&1 if [ $? -eq 0 ] ; then /bin/rm -f /.can_i_write echo "Installing for all users..." INSTALL_DIR="/" SYMLINK_DIR="/usr/bin" else echo Installing for `whoami`... INSTALL_DIR=$HOME SYMLINK_DIR=${HOME}/bin fi TARBALL=`pwd`/MacOSXTk8.4a4-2.tar.gz cd $INSTALL_DIR tar -xzf $TARBALL ln -s ${INSTALL_DIR}/Applications/Wish\ Shell.app/Contents/MacOS/Wish\ Shell ${S YMLINK_DIR}/wish __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com _______________________________________________ Tcl-mac mailing list Tc...@li... https://lists.sourceforge.net/lists/listinfo/tcl-mac |