From: Jason S. <je...@ya...> - 2002-03-01 17:06:52
|
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 |