diff --git a/etc/bash_completion.d/ee b/etc/bash_completion.d/ee index 9d301fa6..18cd59a5 100644 --- a/etc/bash_completion.d/ee +++ b/etc/bash_completion.d/ee @@ -45,7 +45,7 @@ EEAUTO() return 0 ;; - show|info|enable|db) + show|info|enable|db|files|all) COMPREPLY=( $( compgen -W '$(command find /etc/nginx/sites-available/ -type f -printf "%P " 2>/dev/null)' -- $CURRENT ) ) return 0 ;; diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index a6b61f1c..d0c28cbf 100755 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -657,7 +657,7 @@ REMOVEFILES() echo read -p "Are You Sure To Remove $DOMAIN Webroot (y/n): " ANSWER - if [ "$ANSWER" = "y"] + if [ "$ANSWER" = "y" ] then # Remove Webroot rm -rf /var/www/$DOMAIN || OwnError "Unable To Remove $DOMAIN Webroot" @@ -673,7 +673,7 @@ REMOVENGINXCONF() echo read -p "Are You Sure To Remove $DOMAIN Nginx Configuraion (y/n): " ANSWER - if [ "$ANSWER" = "y"] + if [ "$ANSWER" = "y" ] then # Remove Webroot rm -rf /etc/nginx/sites-available/$DOMAIN /etc/nginx/sites-enabled/$DOMAIN \