summaryrefslogtreecommitdiffstats
path: root/storage/mroonga/vendor/groonga/examples/dictionary/init-db.sh
blob: 351d90e7b30982a35688c7b6c93817715d5c74e6 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

if [ 1 != $# ]; then
  echo "usage: $0 db_path"
  exit 1
fi

if groonga-suggest-create-dataset $1 dictionary > /dev/null; then
  echo "db initialized."
fi