File: init.sh

package info (click to toggle)
londiste 3.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 608 kB
  • sloc: python: 4,636; sh: 1,422; makefile: 75; awk: 14; sql: 1
file content (13 lines) | stat: -rwxr-xr-x 191 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

lst="simpledb1 simpledb2"
lst="db1 db2 db3 db4 db5"

for db in $lst; do
  echo dropdb $db
  dropdb --if-exists $db
done
for db in $lst; do
  echo createdb $db
  createdb $db
done