Remove database from .databases
Signed-off-by: merspieler <merspieler@airmail.cc>
This commit is contained in:
parent
cfe4871078
commit
b6aa59fcdd
1 changed files with 1 additions and 0 deletions
|
@ -44,3 +44,4 @@ esac
|
||||||
done
|
done
|
||||||
|
|
||||||
psql --dbname="postgres" -c "DROP DATABASE IF EXISTS $database"
|
psql --dbname="postgres" -c "DROP DATABASE IF EXISTS $database"
|
||||||
|
sed -ri "s/^$key$//" .databases
|
||||||
|
|
Loading…
Add table
Reference in a new issue