@@ -24,7 +24,7 @@ help() {
2424 -e, --email Set email address
2525 -f, --force Force installation
2626 -h, --help Print this help and exit
27- -n, --noupdate Do not run yum update command
27+ -n, --noupdate Do not run apt-get upgrade command
2828 -m, --mysql-password Set MySQL password instead of generating it
2929 -p, --password Set admin password instead of generating it
3030 -s, --hostname Set server hostname
@@ -72,7 +72,7 @@ while getopts "dhfnqe:m:p:s:" Option; do
7272 h) help ;; # Help
7373 e) email=$OPTARG ;; # Set email
7474 f) force=' yes' ;; # Force install
75- n) noupdate=' yes' ;; # Disable yum update
75+ n) noupdate=' yes' ;; # Disable apt-get upgrade
7676 m) mpass=$OPTARG ;; # MySQL pasword
7777 p) vpass=$OPTARG ;; # Admin password
7878 s) servername=$OPTARG ;; # Server hostname
8989
9090# Check supported version
9191if [ -e ' /etc/redhat-release' ]; then
92- echo ' Error: sorry, this installer can work only on Debian or Ubuntu'
92+ echo ' Error: sorry, this installer works only on Ubuntu'
9393 exit 1
9494fi
9595
557557wget $CHOST /$VERSION /apache2-status.conf \
558558 -O /etc/apache2/mods-enabled/status.conf
559559wget $CHOST /$VERSION /apache2.log -O /etc/logrotate.d/apache2
560- echo " # Powevered by vesta" > /etc/apache2/sites-available/default
561- echo " # Powevered by vesta" > /etc/apache2/sites-available/default-ssl
562- echo " # Powevered by vesta" > /etc/apache2/ports.conf
560+ echo " # Powered by vesta" > /etc/apache2/sites-available/default
561+ echo " # Powered by vesta" > /etc/apache2/sites-available/default-ssl
562+ echo " # Powered by vesta" > /etc/apache2/ports.conf
563563mkdir -p /etc/apache2/conf.d
564564rm -f /etc/apache2/conf.d/vesta.conf
565565echo > /etc/apache2/conf.d/vesta.conf
0 commit comments