diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-11-14 17:19:48 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-11-14 17:19:48 -0300 |
commit | d60b5bd6f778cd9c7ea5bb4412aba9ac101ddf9d (patch) | |
tree | be950fc42ca55687854d5ed90e1c97bb6fa5fd57 /pcr/ibus-bogo/install | |
parent | 4886a5f8a3f823a5dedea6d137ab650544cefb9d (diff) | |
parent | 762b84f828dc02cc9a70268b178e944469148007 (diff) |
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 + + } |