Browse Source

Search/Replace

old-stable
Mitesh Shah 11 years ago
parent
commit
ae0c04af8b
  1. 42
      bin/ee

42
bin/ee

@ -676,7 +676,7 @@ INSTALLALL()
# Remove Package Functions # Remove Package Functions
REMOVENGINX() ee_mod_remove_nginx()
{ {
# Select Nginx Package # Select Nginx Package
NGINXINSTALLTWEAKS NGINXINSTALLTWEAKS
@ -686,7 +686,7 @@ REMOVENGINX()
$EE_APT_GET remove $EE_NGINX_PACKAGE nginx-common || ee_lib_error "Unable To Remove Nginx" $EE_APT_GET remove $EE_NGINX_PACKAGE nginx-common || ee_lib_error "Unable To Remove Nginx"
} }
REMOVEPHP() ee_mod_remove_php()
{ {
# Remove PHP5 # Remove PHP5
ee_lib_echo "Removing PHP5, Please Wait..." ee_lib_echo "Removing PHP5, Please Wait..."
@ -695,21 +695,21 @@ REMOVEPHP()
php5-memcache memcached || ee_lib_error "Unable To Remove PHP5" php5-memcache memcached || ee_lib_error "Unable To Remove PHP5"
} }
REMOVEWPCLI() ee_ven_remove_wp_cli()
{ {
# Remove WP-CLI # Remove WP-CLI
ee_lib_echo "Removing WP-CLI, Please Wait..." ee_lib_echo "Removing WP-CLI, Please Wait..."
rm -rf /usr/share/wp-cli /usr/bin/wp /etc/bash_completion.d/wp-completion.bash || ee_lib_error "Unable To Remove WP-CLI" rm -rf /usr/share/wp-cli /usr/bin/wp /etc/bash_completion.d/wp-completion.bash || ee_lib_error "Unable To Remove WP-CLI"
} }
REMOVEPMA() ee_ven_remove_pma()
{ {
# Remove PMA/phpMyAdmin # Remove PMA/phpMyAdmin
ee_lib_echo "Removing phpMyAdmin, Please Wait..." ee_lib_echo "Removing phpMyAdmin, Please Wait..."
rm -rf /var/www/22222/htdocs/db/pma || ee_lib_error "Unable To Remove phpMyAdmin" rm -rf /var/www/22222/htdocs/db/pma || ee_lib_error "Unable To Remove phpMyAdmin"
} }
REMOVEMYSQL() ee_mod_remove_mysql()
{ {
# Remove MySQL # Remove MySQL
ee_lib_echo "Removing MySQL, Please Wait..." ee_lib_echo "Removing MySQL, Please Wait..."
@ -717,7 +717,7 @@ REMOVEMYSQL()
|| ee_lib_error "Unable To Remove MySQL" || ee_lib_error "Unable To Remove MySQL"
} }
REMOVEPOSTFIX() ee_mod_remove_postfix()
{ {
# Remove Postfix # Remove Postfix
ee_lib_echo "Removing Postfix, Please Wait..." ee_lib_echo "Removing Postfix, Please Wait..."
@ -1582,7 +1582,7 @@ REMOVEFILES()
fi fi
} }
REMOVENGINXCONF() ee_mod_remove_nginxCONF()
{ {
# Remove Nginx Configuration # Remove Nginx Configuration
# For Proper read Command Output # For Proper read Command Output
@ -2220,7 +2220,7 @@ then
then then
# Remove Nginx # Remove Nginx
REMOVENGINX ee_mod_remove_nginx
# Remove Unwanted Packages # Remove Unwanted Packages
AUTOREMOVE AUTOREMOVE
@ -2232,8 +2232,8 @@ then
then then
# Remove PHP5 # Remove PHP5
REMOVEPHP ee_mod_remove_php
REMOVEWPCLI ee_ven_remove_wp_cli
# Remove Unwanted Packages # Remove Unwanted Packages
AUTOREMOVE AUTOREMOVE
@ -2245,7 +2245,7 @@ then
then then
# Remove PMA/phpMyAdmin # Remove PMA/phpMyAdmin
REMOVEPMA ee_ven_remove_pma
# Display Success Message # Display Success Message
ee_lib_echo "phpMyAdmin Successfully Removed" ee_lib_echo "phpMyAdmin Successfully Removed"
@ -2254,7 +2254,7 @@ then
then then
# Remove MySQL # Remove MySQL
REMOVEMYSQL ee_mod_remove_mysql
# Remove Unwanted Packages # Remove Unwanted Packages
AUTOREMOVE AUTOREMOVE
@ -2266,7 +2266,7 @@ then
then then
# Remove Postfix # Remove Postfix
REMOVEPOSTFIX ee_mod_remove_postfix
# Remove Unwanted Packages # Remove Unwanted Packages
AUTOREMOVE AUTOREMOVE
@ -2282,8 +2282,8 @@ then
# Remove Unwanted Packages # Remove Unwanted Packages
AUTOREMOVE AUTOREMOVE
REMOVEWPCLI ee_ven_remove_wp_cli
REMOVEPMA ee_ven_remove_pma
# Display Success Message # Display Success Message
ee_lib_echo "Nginx PHP5 WP-CLI MySQL Postfix phpMyAdmin Successfully Removed" ee_lib_echo "Nginx PHP5 WP-CLI MySQL Postfix phpMyAdmin Successfully Removed"
@ -2314,7 +2314,7 @@ then
# Purge PHP5 # Purge PHP5
PURGEPHP PURGEPHP
REMOVEWPCLI ee_ven_remove_wp_cli
# Remove Unwanted Packages # Remove Unwanted Packages
AUTOREMOVE AUTOREMOVE
@ -2326,7 +2326,7 @@ then
then then
# Purge PMA/phpMyAdmin # Purge PMA/phpMyAdmin
REMOVEPMA ee_ven_remove_pma
# Display Success Message # Display Success Message
ee_lib_echo "phpMyAdmin Successfully Purged" ee_lib_echo "phpMyAdmin Successfully Purged"
@ -2363,8 +2363,8 @@ then
# Remove Unwanted Packages # Remove Unwanted Packages
AUTOREMOVE AUTOREMOVE
REMOVEWPCLI ee_ven_remove_wp_cli
REMOVEPMA ee_ven_remove_pma
# Display Success Message # Display Success Message
ee_lib_echo "Nginx PHP5 WP-CLI MySQL Postfix phpMyAdmin Successfully Purged" ee_lib_echo "Nginx PHP5 WP-CLI MySQL Postfix phpMyAdmin Successfully Purged"
@ -3002,7 +3002,7 @@ then
REMOVEFILES REMOVEFILES
# Remove Nginx Configuration # Remove Nginx Configuration
REMOVENGINXCONF ee_mod_remove_nginxCONF
# Reload Nginx # Reload Nginx
NGINXRELOAD NGINXRELOAD
@ -3020,7 +3020,7 @@ then
REMOVEFILES "no-prompt" REMOVEFILES "no-prompt"
# Remove Nginx Configuration # Remove Nginx Configuration
REMOVENGINXCONF "no-prompt" ee_mod_remove_nginxCONF "no-prompt"
# Reload Nginx # Reload Nginx
NGINXRELOAD NGINXRELOAD

Loading…
Cancel
Save