diff --git a/delete-db b/delete-db index 8020949..cb4e982 100755 --- a/delete-db +++ b/delete-db @@ -44,3 +44,4 @@ esac done psql --dbname="postgres" -c "DROP DATABASE IF EXISTS $database" +sed -ri "s/^$key$//" .databases