Prechádzať zdrojové kódy

Add additional text to installer

* Add warning to logout/restart for scripts to work properly post-install
* Add message for project support and beta testing.
Kristan Kenney 7 rokov pred
rodič
commit
33e205f8e5
2 zmenil súbory, kde vykonal 36 pridanie a 6 odobranie
  1. 18 3
      install/hst-install-debian.sh
  2. 18 3
      install/hst-install-ubuntu.sh

+ 18 - 3
install/hst-install-debian.sh

@@ -1736,20 +1736,27 @@ Ready to get started? Log in using the following credentials:
     Username:   admin
     Username:   admin
     Password:   $vpass
     Password:   $vpass
 
 
-Thank you for choosing Hestia Control Panel to power your server,
-we hope that you enjoy it as much as we do!
+Thank you for choosing Hestia Control Panel to power your full stack web server,
+we hope that you enjoy using it as much as we do!
 
 
 Please feel free to contact us at any time if you have any questions,
 Please feel free to contact us at any time if you have any questions,
 or if you encounter any bugs or problems:
 or if you encounter any bugs or problems:
 
 
-E-Mail:  [email protected]
+E-mail:  [email protected]
 Web:     https://www.hestiacp.com/
 Web:     https://www.hestiacp.com/
 Forum:   https://forum.hestiacp.com/
 Forum:   https://forum.hestiacp.com/
 GitHub:  https://www.github.com/hestiacp/hestiacp
 GitHub:  https://www.github.com/hestiacp/hestiacp
 
 
+Want to join the our beta test program? Please email us at
[email protected] or join in on GitHub to start contributing today.
+
+Help support the Hestia Contol Panel project by donating via PayPal:
+https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ST87LQH2CHGLA
 --
 --
 Sincerely yours,
 Sincerely yours,
 The Hestia Control Panel development team
 The Hestia Control Panel development team
+
+Made with love & pride from the open-source community around the world.
 " > $tmpfile
 " > $tmpfile
 
 
 send_mail="$HESTIA/web/inc/mail-wrapper.php"
 send_mail="$HESTIA/web/inc/mail-wrapper.php"
@@ -1760,4 +1767,12 @@ echo
 cat $tmpfile
 cat $tmpfile
 rm -f $tmpfile
 rm -f $tmpfile
 
 
+echo "(!) IMPORTANT: You must logout or restart the server before continuing."
+echo -n " Do you want to logout now? [Y/N] "
+read resetshell
+
+if [ $resetshell = "Y" ] || [ $resetshell = "y" ]; then
+    logout
+fi
+
 # EOF
 # EOF

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

@@ -1650,20 +1650,27 @@ Ready to get started? Log in using the following credentials:
     Username:   admin
     Username:   admin
     Password:   $vpass
     Password:   $vpass
 
 
-Thank you for choosing Hestia Control Panel to power your server,
-we hope that you enjoy it as much as we do!
+Thank you for choosing Hestia Control Panel to power your full stack web server,
+we hope that you enjoy using it as much as we do!
 
 
 Please feel free to contact us at any time if you have any questions,
 Please feel free to contact us at any time if you have any questions,
 or if you encounter any bugs or problems:
 or if you encounter any bugs or problems:
 
 
-E-Mail:  [email protected]
+E-mail:  [email protected]
 Web:     https://www.hestiacp.com/
 Web:     https://www.hestiacp.com/
 Forum:   https://forum.hestiacp.com/
 Forum:   https://forum.hestiacp.com/
 GitHub:  https://www.github.com/hestiacp/hestiacp
 GitHub:  https://www.github.com/hestiacp/hestiacp
 
 
+Want to join the our beta test program? Please email us at
[email protected] or join in on GitHub to start contributing today.
+
+Help support the Hestia Contol Panel project by donating via PayPal:
+https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ST87LQH2CHGLA
 --
 --
 Sincerely yours,
 Sincerely yours,
 The Hestia Control Panel development team
 The Hestia Control Panel development team
+
+Made with love & pride from the open-source community around the world.
 " > $tmpfile
 " > $tmpfile
 
 
 send_mail="$HESTIA/web/inc/mail-wrapper.php"
 send_mail="$HESTIA/web/inc/mail-wrapper.php"
@@ -1674,4 +1681,12 @@ echo
 cat $tmpfile
 cat $tmpfile
 rm -f $tmpfile
 rm -f $tmpfile
 
 
+echo "(!) IMPORTANT: You must logout or restart the server before continuing."
+echo -n " Do you want to logout now? [Y/N] "
+read resetshell
+
+if [ $resetshell = "Y" ] || [ $resetshell = "y" ]; then
+    logout
+fi
+
 # EOF
 # EOF