summaryrefslogtreecommitdiff
path: root/community/ibus-pinyin/ibus-pinyin.install
blob: 3771d9becb0abadfce886d7d3d2bb64191437667 (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
}