mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
9787dec0cd
commit
abc2d1454c
19
INSTALL.sh
19
INSTALL.sh
@ -103,7 +103,12 @@ print_header() {
|
|||||||
|
|
||||||
install_started_message(){
|
install_started_message(){
|
||||||
echo -e ""
|
echo -e ""
|
||||||
echo -e "\nStarting the installation of OpenPanel. This process will take approximately 3-5 minutes."
|
|
||||||
|
if [ "$SET_PREMIUM" = true ]; then
|
||||||
|
echo -e "\nStarting the installation of OpenPanel Enterprise edition. This process will take approximately 3-5 minutes."
|
||||||
|
else
|
||||||
|
echo -e "\nStarting the installation of OpenPanel Community edition. This process will take approximately 3-5 minutes."
|
||||||
|
fi
|
||||||
echo -e "During this time, we will:"
|
echo -e "During this time, we will:"
|
||||||
echo -e "- Install necessary services and tools."
|
echo -e "- Install necessary services and tools."
|
||||||
echo -e "- Create an admin account for you."
|
echo -e "- Create an admin account for you."
|
||||||
@ -953,7 +958,7 @@ configure_nginx() {
|
|||||||
|
|
||||||
|
|
||||||
set_premium_features(){
|
set_premium_features(){
|
||||||
if [ "$SET_HOSTNAME_NOW" = true ]; then
|
if [ "$SET_PREMIUM" = true ]; then
|
||||||
echo "Setting OpenPanel enterprise version license key $license_key"
|
echo "Setting OpenPanel enterprise version license key $license_key"
|
||||||
opencli license "$license_key"
|
opencli license "$license_key"
|
||||||
fi
|
fi
|
||||||
@ -998,7 +1003,15 @@ set_email_address_and_email_admin_logins(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
server_hostname=$(hostname)
|
server_hostname=$(hostname)
|
||||||
email_notification "OpenPanel successfully installed" "OpenAdmin URL: http://$server_hostname:2087/ | username: $new_username | password: $new_password"
|
|
||||||
|
if [ "$SET_PREMIUM" = true ]; then
|
||||||
|
email_notification "OpenPanel Enterprise ${version} successfully installed" "OpenAdmin URL: http://$server_hostname:2087/ | username: $new_username | password: $new_password"
|
||||||
|
else
|
||||||
|
email_notification "OpenPanel Community ${version} successfully installed" "OpenAdmin URL: http://$server_hostname:2087/ | username: $new_username | password: $new_password"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Address provided: $EMAIL is not a valid email address. Admin login credentials and future notifications will not be sent."
|
echo "Address provided: $EMAIL is not a valid email address. Admin login credentials and future notifications will not be sent."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user