Browse Source

Install phpMyAdmin by pma or phpmyadmin args

old-stable
Mitesh Shah 11 years ago
parent
commit
d9026f47e2
  1. 2
      etc/bash_completion.d/ee
  2. 6
      usr/local/sbin/easyengine

2
etc/bash_completion.d/ee

@ -28,7 +28,7 @@ EEAUTO()
;; ;;
install|remove|purge) 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 return 0
;; ;;

6
usr/local/sbin/easyengine

@ -1186,7 +1186,7 @@ then
# Display Success Message # Display Success Message
echo -e "\033[34mPHP5 & WP-CLI Successfully Installed\e[0m" echo -e "\033[34mPHP5 & WP-CLI Successfully Installed\e[0m"
elif [ "$3" = "pma" ] || [ "$3" = "phpmyadmin" ] elif [ "$3" = "phpmyadmin" ] || [ "$3" = "pma" ]
then then
# Install PMA/phpMyAdmin # Install PMA/phpMyAdmin
@ -1326,7 +1326,7 @@ then
# Display Success Message # Display Success Message
echo -e "\033[34mPHP5 & WP-CLI Successfully Removed\e[0m" echo -e "\033[34mPHP5 & WP-CLI Successfully Removed\e[0m"
elif [ "$3" = "pma" ] || [ "$3" = "phpmyadmin" ] elif [ "$3" = "phpmyadmin" ] || [ "$3" = "pma" ]
then then
# Remove PMA/phpMyAdmin # Remove PMA/phpMyAdmin
@ -1404,7 +1404,7 @@ then
# Display Success Message # Display Success Message
echo -e "\033[34mPHP5 & WP-CLI Successfully Purged\e[0m" echo -e "\033[34mPHP5 & WP-CLI Successfully Purged\e[0m"
elif [ "$3" = "pma" ] || [ "$3" = "phpmyadmin" ] elif [ "$3" = "phpmyadmin" ] || [ "$3" = "pma" ]
then then
# Purge PMA/phpMyAdmin # Purge PMA/phpMyAdmin

Loading…
Cancel
Save