|
@ -16,6 +16,8 @@ function ee_mod_delete_database() |
|
|
# Delete database without any prompt |
|
|
# Delete database without any prompt |
|
|
local ee_prompt="y" |
|
|
local ee_prompt="y" |
|
|
else |
|
|
else |
|
|
|
|
|
# Fix read prompt |
|
|
|
|
|
stty echo |
|
|
# Ask user to confirm |
|
|
# Ask user to confirm |
|
|
read -p "Are you sure to drop $ee_db_name database (y/n): " ee_prompt |
|
|
read -p "Are you sure to drop $ee_db_name database (y/n): " ee_prompt |
|
|
fi |
|
|
fi |
|
|