|
|
@ -33,8 +33,7 @@ then |
|
|
|
if [ "$EE_SECOND" = "install" ] |
|
|
|
then |
|
|
|
|
|
|
|
if [ "$EE_THIRD" = "nginx" ] || [ "$EE_THIRD" = "php" ] || [ "$EE_THIRD" = "mysql" ] |
|
|
|
then |
|
|
|
if [ "$EE_THIRD" = "nginx" ] || [ "$EE_THIRD" = "php" ] || [ "$EE_THIRD" = "mysql" ] || [ "$EE_THIRD" = "postfix" ] || [ "$EE_THIRD" = "phpmyadmin" ] || [ "$EE_THIRD" = "adminer" ]; then |
|
|
|
|
|
|
|
if [ "$EE_THIRD" = "nginx" ] || [ "$EE_THIRD" = "php" ]; then |
|
|
|
# Setup nginx/php repository |
|
|
@ -44,12 +43,14 @@ then |
|
|
|
ee_lib_gpg_key_fix |
|
|
|
fi |
|
|
|
|
|
|
|
# Execute: apt-get update |
|
|
|
ee_lib_apt_get_update |
|
|
|
|
|
|
|
if [ "$EE_THIRD" = "nginx" ] || [ "$EE_THIRD" = "php" ] || [ "$EE_THIRD" = "mysql" ] || [ "$EE_THIRD" = "postfix" ]; then |
|
|
|
|
|
|
|
# Execute: apt-get update |
|
|
|
ee_lib_apt_get_update |
|
|
|
|
|
|
|
# Install nginx/php/mysql/postfix package |
|
|
|
ee_mod_install_$EE_THIRD |
|
|
|
|
|
|
|
elif [ "$EE_THIRD" = "adminer" ] || [ "$EE_THIRD" = "phpmyadmin" ];then |
|
|
|
# Install phpmyadmin/adminer |
|
|
|
ee_ven_install_$EE_THIRD |
|
|
|