# Uninstall W3TC plugin in case converting site to --basic | --wpsc
if["$EE_SITE_CURRENT_OPTION"="WPSINGLE W3 TOTAL CACHE"]||["$EE_SITE_CURRENT_OPTION"="WPSINGLE FAST CGI"]\
||["$EE_SITE_CURRENT_OPTION"="WPSUBDIR W3 TOTAL CACHE"]||["$EE_SITE_CURRENT_OPTION"="WPSUBDIR FAST CGI"]\
||["$EE_SITE_CURRENT_OPTION"="WPSUBDOMAIN W3 TOTAL CACHE"]||["$EE_SITE_CURRENT_OPTION"="WPSUBDOMAIN FAST CGI"]&&[["$EE_SITE_CACHE_OPTION"="--basic"||"$EE_SITE_CACHE_OPTION"="--wpsc"]];then
||["$EE_SITE_CURRENT_OPTION"="WPSUBDOMAIN W3 TOTAL CACHE"]||["$EE_SITE_CURRENT_OPTION"="WPSUBDOMAIN FAST CGI"]\
# Install wpsc plugin in case updating site to --wpsc
if["$EE_SITE_CURRENT_OPTION" !="WPSINGLE WP SUPER CACHE"]&&["$EE_SITE_CURRENT_OPTION" !="WPSUBDIR WP SUPER CACHE"]\
&&["$EE_SITE_CURRENT_OPTION" !="WPSUBDOMAIN WP SUPER CACHE"]&&["$EE_SITE_CACHE_OPTION"="--wpsc"];then
ee_mod_plugin_wpsc
ee_mod_plugin_settings
fi
# Install w3tc plugin in case updating site to --w3tc | --wpfc
if["$EE_SITE_CURRENT_OPTION" !="WPSINGLE W3 TOTAL CACHE"]&&["$EE_SITE_CURRENT_OPTION" !="WPSUBDIR W3 TOTAL CACHE"]\
||["$EE_SITE_CURRENT_OPTION" !="WPSUBDOMAIN W3 TOTAL CACHE"]&&["$EE_SITE_CURRENT_OPTION" !="WPSINGLE FAST CGI"]||["$EE_SITE_CURRENT_OPTION" !="WPSUBDIR FAST CGI"]\
||["$EE_SITE_CURRENT_OPTION" !="WPSUBDOMAIN FAST CGI"]&&[["$EE_SITE_CACHE_OPTION"="--wpfc"||"$EE_SITE_CACHE_OPTION"="--w3tc"]];then
||["$EE_SITE_CURRENT_OPTION" !="WPSUBDOMAIN W3 TOTAL CACHE"]&&["$EE_SITE_CURRENT_OPTION" !="WPSINGLE FAST CGI"]\
||["$EE_SITE_CURRENT_OPTION" !="WPSUBDIR FAST CGI"]||["$EE_SITE_CURRENT_OPTION" !="WPSUBDOMAIN FAST CGI"]\