@@ -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 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' ] || [ -e ' /etc/lsb-release' ]; then
92- echo ' Error: sorry, this installer can work only on Debian 7'
92+ echo ' Error: sorry, this installer works only on Debian 7'
9393 exit 1
9494fi
9595
@@ -554,9 +554,9 @@ wget $CHOST/$VERSION/apache2-status.conf \
554554wget $CHOST /$VERSION /apache2.log -O /etc/logrotate.d/apache2
555555rm -f /etc/apache2/conf.d/vesta.conf
556556echo > /etc/apache2/conf.d/vesta.conf
557- echo " # Powevered by vesta" > /etc/apache2/sites-available/default
558- echo " # Powevered by vesta" > /etc/apache2/sites-available/default-ssl
559- echo " # Powevered by vesta" > /etc/apache2/ports.conf
557+ echo " # Powered by vesta" > /etc/apache2/sites-available/default
558+ echo " # Powered by vesta" > /etc/apache2/sites-available/default-ssl
559+ echo " # Powered by vesta" > /etc/apache2/ports.conf
560560touch /var/log/apache2/access.log
561561touch /var/log/apache2/error.log
562562mkdir -p /var/log/apache2/domains
0 commit comments