Просмотр исходного кода

Minor fixes to installer scripts

* Language / comment fixes
* Remove duplicate conf.d entry in Ubuntu installer.
Kristan Kenney 6 лет назад
Родитель
Сommit
e9a1820b0a
2 измененных файлов с 4 добавлено и 5 удалено
  1. 2 2
      install/hst-install-debian.sh
  2. 2 3
      install/hst-install-ubuntu.sh

+ 2 - 2
install/hst-install-debian.sh

@@ -86,9 +86,9 @@ help() {
     exit 1
 }
 
-# Define file download function
+# Defining file download function
 download_file() {
-  wget $1 -q --show-progress --progress=bar:force
+    wget $1 -q --show-progress --progress=bar:force
 }
 
 # Defining password-gen function

+ 2 - 3
install/hst-install-ubuntu.sh

@@ -71,9 +71,9 @@ help() {
     exit 1
 }
 
-# Define file download function
+# Defining file download function
 download_file() {
-  wget $1 -q --show-progress --progress=bar:force
+    wget $1 -q --show-progress --progress=bar:force
 }
 
 # Defining password-gen function
@@ -1122,7 +1122,6 @@ if [ "$apache" = 'yes' ]; then
     a2enmod actions > /dev/null 2>&1
     a2enmod ruid2 > /dev/null 2>&1
     mkdir -p /etc/apache2/conf.d
-    mkdir -p /etc/apache2/conf.d
     mkdir -p /etc/apache2/conf.d/domains
     echo "# Powered by hestia" > /etc/apache2/sites-available/default
     echo "# Powered by hestia" > /etc/apache2/sites-available/default-ssl