/debian/scim-python-chinese.postinst

http://scim-python.googlecode.com/ · Shell · 7 lines · 3 code · 2 blank · 2 comment · 1 complexity · 7509ee0699ae4c572e98e41c7b0d376b MD5 · raw file

  1. #! /bin/sh -e
  2. cd /usr/share/scim-python/engine/PinYin
  3. echo "Creating index for Chinese corpus. This may take some time... "
  4. python2.5 -c "import PYSQLiteDB; db = PYSQLiteDB.PYSQLiteDB (); db.create_indexes ();"
  5. #DEBHELPER#