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

Add lines and cleanup routine.

Raphael Schneeberger 7 лет назад
Родитель
Сommit
fbca0189be
2 измененных файлов с 27 добавлено и 0 удалено
  1. 14 0
      install/hst-install-debian.sh
  2. 13 0
      install/hst-install-ubuntu.sh

+ 14 - 0
install/hst-install-debian.sh

@@ -1344,6 +1344,17 @@ fi
 
 source $hestiacp/phpmyadmin/pma.sh > /dev/null 2>&1
 
+
+#----------------------------------------------------------#
+#                     Clear Up Files                       #
+#----------------------------------------------------------#
+
+# Check and remove deb_signing.key
+if [ -f deb_signing.key ]; then
+    rm deb_signing.key
+fi
+
+
 #----------------------------------------------------------#
 #                   Configure Admin User                   #
 #----------------------------------------------------------#
@@ -1478,13 +1489,16 @@ fi
 
 # Sending notification to admin email
 echo -e "Congratulations, you have just successfully installed \
+
 Hestia Control Panel
     https://$ip:$port
     username: admin
     password: $vpass
+
 We hope that you enjoy your installation of Hestia. Please \
 feel free to contact us anytime if you have any questions.
 Thank you.
+
 --
 Sincerely yours
 hestiacp.com team

+ 13 - 0
install/hst-install-ubuntu.sh

@@ -1407,6 +1407,16 @@ chown admin:admin $HESTIA/data/sessions
 $HESTIA/bin/v-add-cron-hestia-autoupdate
 
 
+#----------------------------------------------------------#
+#                     Clear Up Files                       #
+#----------------------------------------------------------#
+
+# Check and remove deb_signing.key
+if [ -f deb_signing.key ]; then
+    rm deb_signing.key
+fi
+
+
 #----------------------------------------------------------#
 #                   Hestia Access Info                     #
 #----------------------------------------------------------#
@@ -1419,13 +1429,16 @@ fi
 
 # Sending notification to admin email
 echo -e "Congratulations, you have just successfully installed \
+
 Hestia Control Panel
     https://$ip:$port
     username: admin
     password: $vpass
+
 We hope that you enjoy your installation of Hestia. Please \
 feel free to contact us anytime if you have any questions.
 Thank you.
+
 --
 Sincerely yours
 hestiacp.com team