Remove database from .databases

Signed-off-by: merspieler <merspieler@airmail.cc>
This commit is contained in:
merspieler 2019-05-02 09:18:10 +00:00
parent cfe4871078
commit b6aa59fcdd

View file

@ -44,3 +44,4 @@ esac
done
psql --dbname="postgres" -c "DROP DATABASE IF EXISTS $database"
sed -ri "s/^$key$//" .databases