Most stack scripts contain bash functions, if we take
http://www.linode.com/stackscripts/view ... criptID=10 for example after the include statement which adds
http://www.linode.com/stackscripts/view ... ScriptID=1 into the top of the script, it runs system_update which does the following
Code:
function system_update {
apt-get update
apt-get -y install aptitude
aptitude -y full-upgrade
}
I personally like to add
Code:
set -e
at the top of my stack scripts to make sure they fail on error. You can copy a stack script and add that to the top if you like.
_________________
Paid supportHow to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue