From d86ba4bbfab01a9b8b549df2c03dd64d0fd63cbb Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 8 Jul 2013 18:02:37 +0530 Subject: [PATCH] Minor fix of if statements --- etc/bash_completion.d/ee | 2 +- usr/local/sbin/easyengine | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/bash_completion.d/ee b/etc/bash_completion.d/ee index 5ab0b077..9d301fa6 100644 --- a/etc/bash_completion.d/ee +++ b/etc/bash_completion.d/ee @@ -45,7 +45,7 @@ EEAUTO() return 0 ;; - show|info|enable) + show|info|enable|db) 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 bc7b7d31..a6b61f1c 100755 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -640,7 +640,7 @@ REMOVEDB() echo read -p "Are You Sure To Drop $WPDBNAME Database (y/n): " ANSWER - if [ "$ANSWER" = "y"] + if [ "$ANSWER" = "y" ] then # Remove Database mysql -u $MYSQLUSER -p$MYSQLPASS -e "drop database \`$WPDBNAME\`" \