messages improved

New we have a successful message after install option zero, ad also we have a donation invitation.
This commit is contained in:
Cristhian Martínez Ochoa 2018-05-18 15:25:27 -06:00
parent e7b3d36419
commit c37f8742b7

19
weby
View file

@ -77,6 +77,7 @@ if [[ -a /opt/webinoly/webinoly.conf ]]; then
echo "${gre}Webinoly Configuration file was found, so we will use it!${end}" echo "${gre}Webinoly Configuration file was found, so we will use it!${end}"
else else
[[ -n $2 && $2 != "-ver="* ]] && tools_port $2 [[ -n $2 && $2 != "-ver="* ]] && tools_port $2
newinst="true"
fi fi
# Write app version # Write app version
@ -92,6 +93,24 @@ if [[ $setup == 4 ]]; then
config_load config_load
fi fi
# Message Center
if [[ $newinst == "true" && $setup == 0 ]]; then
echo "${blu}You have chosen the option '0', it means that you have to manually build your own stack."
echo "But, don't worry! With Webinoly this is an easy task, just use the stack command, i.e. 'sudo stack -lemp'"
echo "${gre}"
echo "Webinoly has been successfully installed!!!"
fi
echo "${blu}"
echo "****************************************************************************"
echo "********************** D O N A T I O N S ***************************"
echo "*** If you like Webinoly, buy me a coffee or a beer to show support. ***"
echo "************ PayPal: https://www.paypal.me/qrokes ******************"
echo "****************************************************************************"
echo "${end}"
# Remove Installation File # Remove Installation File
sudo rm weby sudo rm weby
app_purge app_purge