| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | if [scip-shell system . . `[`. 1 != $# ]; then |
| 4 | echoscip-shell system . . echo. "usage: $0 db_path" |
| 5 | exit 1 |
| 6 | fi |
| 7 | |
| 8 | if groonga-suggest-create-dataset $1 dictionary > /dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9 | echoscip-shell system . . echo. "db initialized." |
| 10 | fi |