diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-11-18 17:13:56 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-11-18 17:13:56 -0300 |
commit | e5e6eaf7e3cad31a74862656283728197b715178 (patch) | |
tree | 2b6c997f1bf5d936019a1dfc741b192208270e1b /pcr/ibus-bogo/install | |
parent | 7eff80609dcc365658c94f899d4a3a298e8fb5dd (diff) | |
parent | dcb01f130dac1b244e0ed9fe0041d92a130ab427 (diff) | |
download | abslibre-e5e6eaf7e3cad31a74862656283728197b715178.tar.gz abslibre-e5e6eaf7e3cad31a74862656283728197b715178.tar.bz2 abslibre-e5e6eaf7e3cad31a74862656283728197b715178.zip |
Merge branch 'master' of ssh://gparabola/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 + + } |