From 522a0e5376fedbb0d9e762817a0320f4358821b6 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Tue, 2 Jul 2013 11:43:54 +0530 Subject: [PATCH] Better Plugin Installation Message and APC --- usr/local/sbin/easyengine | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 2752c0f3..1766e32a 100755 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -565,16 +565,21 @@ TOTALCACHENGINX() { # Installing W3 Total Cache cd /var/www/$DOMAIN/htdocs/ + echo -e "\033[34m Installing W3 Total Cache Plugin, Please Wait... \e[0m" wp plugin install w3-total-cache || OwnError "Unable To Install W3 Total Cache Plugin" # Activate W3 Total Cache wp plugin activate w3-total-cache || OwnError "Unable To Activate W3 Total Cache Plugin" + + # APC Settings + cp -v /usr/share/doc/php-apc/apc.php /var/www/$DOMAIN/htdocs/ || OwnError "Unable To Copy APC" } SUPERCACHENGINX() { # Installing WP Super Cache cd /var/www/$DOMAIN/htdocs/ + echo -e "\033[34m Installing WP Super Cache Plugin, Please Wait... \e[0m" wp plugin install wp-super-cache || OwnError "Unable To Install WP Super Cache Plugin" # Activate WP Super Cache @@ -585,6 +590,7 @@ NGINXHELPER() { # Installing Nginx Helper cd /var/www/$DOMAIN/htdocs/ + echo -e "\033[34m Installing Nginx Helper Plugin, Please Wait... \e[0m" wp plugin install nginx-helper || OwnError "Unable To Install Nginx Helper" # Activate Nginx Helper