From b6aa59fcdde40c3709ab80e3affef29f19ba286b Mon Sep 17 00:00:00 2001 From: merspieler Date: Thu, 2 May 2019 09:18:10 +0000 Subject: [PATCH] Remove database from .databases Signed-off-by: merspieler --- delete-db | 1 + 1 file changed, 1 insertion(+) 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