diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-14 17:17:06 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-14 17:17:06 -0200 |
commit | 762b84f828dc02cc9a70268b178e944469148007 (patch) | |
tree | 523f05cfa4efe2a4f48c00e8aa829a472a81f7f1 /pcr/ibus-bogo/install | |
parent | f670012fe35dd14cfdf11e579ede0ec7de2a0c24 (diff) | |
parent | 3003c34a15ad9b553e8511102aebab469886754f (diff) | |
download | abslibre-762b84f828dc02cc9a70268b178e944469148007.tar.gz abslibre-762b84f828dc02cc9a70268b178e944469148007.tar.bz2 abslibre-762b84f828dc02cc9a70268b178e944469148007.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/ibus-bogo/install')
-rw-r--r-- | pcr/ibus-bogo/install | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pcr/ibus-bogo/install b/pcr/ibus-bogo/install new file mode 100644 index 000000000..0ed8986d0 --- /dev/null +++ b/pcr/ibus-bogo/install @@ -0,0 +1,40 @@ +post_install () { + + glib-compile-schemas /usr/share/glib-2.0/schemas + + } + +pre_upgrade () { + + cd /usr/share + if [ -d ibus-bogo ]; then + rm -rf ibus-bogo/* + fi + + cd /usr/share/ibus/component/ + if [ -f bogo.xml ]; then + rm bogo.xml + fi + + cd /usr/lib/python2.7/site-packages/ + if [ -d BoGo ]; then + rm -rf BoGo/* + fi + + for i in `ls /usr/lib | grep bogo`; do + rm -rf /usr/lib/$i + done + + } + +post_upgrade () { + + glib-compile-schemas /usr/share/glib-2.0/schemas + + } + +post_remove () { + + glib-compile-schemas /usr/share/glib-2.0/schemas + + } |