Skip to content

Instantly share code, notes, and snippets.

@number5
Created April 24, 2010 03:50
Show Gist options
  • Save number5/377448 to your computer and use it in GitHub Desktop.
Save number5/377448 to your computer and use it in GitHub Desktop.
#! /bin/sh
P="ibus-pinyin-extraphrase-0.1.20100118.tar.xz"
SRC_URI="http://hslinuxextra.googlecode.com/files/${P}"
wget -P /tmp -c ${SRC_URI}
tar --strip 1 -C/usr/share/ibus-pinyin/db -xvf /tmp/${P}
cd /usr/share/ibus-pinyin/db/
ln -sf data/sougou-full.db local.db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment