Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 243 Bytes
#!/bin/bash
YUMPACKAGES='httpd'
APTPACKAGES='apache2'
case ${TDISTRO} in
centos)
yum install -y ${YUMPACKAGES}
;;
ubuntu)
apt-get install -y ${APTPACKAGES}
;;
*)
echo 'unknown distro. Abort.'
exit 1
;;
esac