summaryrefslogtreecommitdiff
path: root/community/ibus-pinyin/ibus-pinyin.install
blob: d9ad9242685351ef3e5dd11d603e4e5db5dd741f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
    echo "Creating INDEX. Please wait..."
    cd /usr/share/ibus-pinyin/db
    echo "Creating index for android.db..."
    sqlite3 android.db '.read create_index.sql'
    echo "Creating index for open-phrase.db..."
    sqlite3 open-phrase.db '.read create_index.sql'
    echo "Done."
}

post_upgrade() {
    post_install $1
}