#!/bin/bash # This is the install script that came with the program you are look in to. # This script was generated from templates by the build script from # http://www.SiliconTao.com # You should not have to read this file unless there is a problem installing. # This script was made to automate the install or if needed the compiling of # this project. # You should run this script and let the script do it's job. # If the script does not run you may need to change the permissions on the script. # Contact your system administrator to ask about how to do that. # These values need to be set by build and the values redefined below. ProjectName="this project" LibsNeeded=0 LibsNeededConfs="" LibsNeededDefaults="" AuthorName="" AuthorEmail="" AuthorHttp="" InstallDir="" # PUT GENERATED SCRIPT HERE AuthorName="Roy Souther" AuthorEmail="roy@SiliconTao.com" AuthorHttp="www.SiliconTao.com" InstallDir="unset" # THE REST OF THE SCRIPT function main { Welcome; SeeIfNeedLibs; } function Welcome { # Show the welcome clear echo " Welcome the the install for $ProjectName." if [ ! "$AuthorName" = "" ]; then echo -n " by $AuthorName" if [ ! "$AuthorEmail" = "" ]; then echo -n ", E-Mail $AuthorEmail" fi if [ ! "$AuthorHttp" = "" ]; then echo -n ", Web $AuthorHttp" fi echo "" fi } function SeeIfNeedLibs { if [ $LibsNeeded -gt 0 ]; then echo "Some libraries are needed for this program to work." if [ ! "$LibsNeededConfs" = "" ]; then echo "Some of these libriaries may use config scripts to find where they where installed." echo "This install will try to find these scripts on your system now." # Look for conf scripts fi if [ ! "$LibsNeededDefaults" = "" ]; then echo "" fi fi } main; exit;