10 lines
312 B
Bash
10 lines
312 B
Bash
|
#!/usr/bin/env zsh
|
||
|
|
||
|
ROOT=${PWD}
|
||
|
|
||
|
sudo cp ./db/dictionary/polish.affix `pg_config --sharedir`/tsearch_data/
|
||
|
sudo cp ./db/dictionary/polish.dict `pg_config --sharedir`/tsearch_data/
|
||
|
sudo cp ./db/dictionary/polish.stop `pg_config --sharedir`/tsearch_data/
|
||
|
|
||
|
psql oswilno postgres -f ./db/dictionary/create_dict.psql
|