diff --git a/bin/extend.sh b/bin/extend.sh index 8729f87..8ada4e1 100644 --- a/bin/extend.sh +++ b/bin/extend.sh @@ -1,5 +1,17 @@ #!/bin/sh +function install_tools() { + if [ `rpm -qa|grep wget|wc -l` == 0 ];then + yum -y install wget + fi + if [ `rpm -qa|grep bzip2|wc -l` == 0 ];then + yum -y install bzip2 + fi + if [ `rpm -qa|grep unzip|wc -l` == 0 ];then + yum -y install unzip + fi +} + function install_gcc() { if [ `rpm -qa|grep gcc|wc -l` == 0 ];then yum -y install gcc