]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/drop_postgresql_database.in
tweak comments
[bacula/bacula] / bacula / src / cats / drop_postgresql_database.in
1 #!/bin/sh
2 #
3 # shell script to drop Bacula database(s)
4 #
5
6 bindir=@SQL_BINDIR@
7 db_name=@db_name@
8
9 if $bindir/dropdb ${db_name}
10 then
11    echo "Drop of ${db_name} database succeeded."
12 else
13    echo "Drop of ${db_name} database failed."
14 fi
15 exit 0