Browse Source

Minor fix of if statements

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

2
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
;;

2
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\`" \

Loading…
Cancel
Save