3 # Simple shell script for installing SPLAT! and associated utilities.
4 # Written by John A. Magliacane, KD2BD April 2002
9 cp splat /usr/local/bin
10 echo "SPLAT! installed!"
18 echo "utils installed!"
23 cp docs/man/splat.1 /usr/local/man/man1/splat.1
24 echo "man page installed!"
29 if [ $# == "0" ]; then
30 echo "Usage: ./install { splat, utils, man, all }"
32 if [ $whoami == "root" ]; then
34 if [ $1 == "splat" ] && [ -x splat ]; then
38 if [ $1 == "utils" ]; then
42 if [ $1 == "man" ]; then
46 if [ $1 == "all" ] && [ -x splat ]; then
52 echo "Sorry, $whoami. You need to be 'root' to install this software. :-("
55 if [ $1 != "splat" ] && [ $1 != "utils" ] && [ $1 != "man" ] && [ $1 != "all" ]; then
56 echo "Usage: ./install { splat, utils, man, all }"