瀏覽代碼

Merge pull request #160 from jlamer/master

jlamer fixed few spelling problems
Serghey Rodin 11 年之前
父節點
當前提交
b548ab46aa
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      install/vst-install-debian.sh

+ 6 - 6
install/vst-install-debian.sh

@@ -24,7 +24,7 @@ help() {
    -e, --email                Set email address
    -f, --force                Force installation
    -h, --help                 Print this help and exit
-   -n, --noupdate             Do not run yum update command
+   -n, --noupdate             Do not apt-get upgrade command
    -m, --mysql-password       Set MySQL password instead of generating it
    -p, --password             Set admin password instead of generating it
    -s, --hostname             Set server hostname
@@ -72,7 +72,7 @@ while getopts "dhfnqe:m:p:s:" Option; do
         h) help ;;                        # Help
         e) email=$OPTARG ;;               # Set email
         f) force='yes' ;;                 # Force install
-        n) noupdate='yes' ;;              # Disable yum update
+        n) noupdate='yes' ;;              # Disable apt-get upgrade
         m) mpass=$OPTARG ;;               # MySQL pasword
         p) vpass=$OPTARG ;;               # Admin password
         s) servername=$OPTARG ;;          # Server hostname
@@ -89,7 +89,7 @@ fi
 
 # Check supported version
 if [ -e '/etc/redhat-release' ] || [ -e '/etc/lsb-release' ]; then
-    echo 'Error: sorry, this installer can work only on Debian 7'
+    echo 'Error: sorry, this installer works only on Debian 7'
     exit 1
 fi
 
@@ -554,9 +554,9 @@ wget $CHOST/$VERSION/apache2-status.conf \
 wget $CHOST/$VERSION/apache2.log -O /etc/logrotate.d/apache2
 rm -f /etc/apache2/conf.d/vesta.conf
 echo > /etc/apache2/conf.d/vesta.conf
-echo "# Powevered by vesta" > /etc/apache2/sites-available/default
-echo "# Powevered by vesta" > /etc/apache2/sites-available/default-ssl
-echo "# Powevered by vesta" > /etc/apache2/ports.conf
+echo "# Powered by vesta" > /etc/apache2/sites-available/default
+echo "# Powered by vesta" > /etc/apache2/sites-available/default-ssl
+echo "# Powered by vesta" > /etc/apache2/ports.conf
 touch /var/log/apache2/access.log
 touch /var/log/apache2/error.log
 mkdir -p /var/log/apache2/domains