From d9026f47e29acfe2105494afb3266300ccd3213c Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Tue, 31 Dec 2013 13:23:06 +0530 Subject: [PATCH] Install phpMyAdmin by pma or phpmyadmin args --- etc/bash_completion.d/ee | 2 +- usr/local/sbin/easyengine | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/bash_completion.d/ee b/etc/bash_completion.d/ee index bc5f665f..1f4502dd 100644 --- a/etc/bash_completion.d/ee +++ b/etc/bash_completion.d/ee @@ -28,7 +28,7 @@ EEAUTO() ;; install|remove|purge) - COMPREPLY=( $( compgen -W "nginx php mysql pma postfix all" -- $CURRENT ) ) + COMPREPLY=( $( compgen -W "nginx php mysql phpmyadmin postfix all" -- $CURRENT ) ) return 0 ;; diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index dc365054..a9cb2c06 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -1186,7 +1186,7 @@ then # Display Success Message echo -e "\033[34mPHP5 & WP-CLI Successfully Installed\e[0m" - elif [ "$3" = "pma" ] || [ "$3" = "phpmyadmin" ] + elif [ "$3" = "phpmyadmin" ] || [ "$3" = "pma" ] then # Install PMA/phpMyAdmin @@ -1326,7 +1326,7 @@ then # Display Success Message echo -e "\033[34mPHP5 & WP-CLI Successfully Removed\e[0m" - elif [ "$3" = "pma" ] || [ "$3" = "phpmyadmin" ] + elif [ "$3" = "phpmyadmin" ] || [ "$3" = "pma" ] then # Remove PMA/phpMyAdmin @@ -1404,7 +1404,7 @@ then # Display Success Message echo -e "\033[34mPHP5 & WP-CLI Successfully Purged\e[0m" - elif [ "$3" = "pma" ] || [ "$3" = "phpmyadmin" ] + elif [ "$3" = "phpmyadmin" ] || [ "$3" = "pma" ] then # Purge PMA/phpMyAdmin