summaryrefslogtreecommitdiff
path: root/pcr/maliit-framework/maliit-framework.install
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-21 03:59:49 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-21 03:59:49 -0300
commitc21f5170cf7f58becfd63c3f4be4bfe8e8bf7755 (patch)
tree4ebe38fd72b700eac8b05d456b2348ab6b42fcc0 /pcr/maliit-framework/maliit-framework.install
parent5bb09e8eb70b20a612c3f2cb795a8a61980ae4e3 (diff)
parentad8ee0a3286648535e7987cfaa38ecb274a7542f (diff)
downloadabslibre-c21f5170cf7f58becfd63c3f4be4bfe8e8bf7755.tar.gz
abslibre-c21f5170cf7f58becfd63c3f4be4bfe8e8bf7755.tar.bz2
abslibre-c21f5170cf7f58becfd63c3f4be4bfe8e8bf7755.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/maliit-framework/maliit-framework.install')
-rwxr-xr-xpcr/maliit-framework/maliit-framework.install30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/maliit-framework/maliit-framework.install b/pcr/maliit-framework/maliit-framework.install
new file mode 100755
index 000000000..08c54ae1b
--- /dev/null
+++ b/pcr/maliit-framework/maliit-framework.install
@@ -0,0 +1,30 @@
+pkgname=maliit-framework
+
+post_install() {
+ echo "Updating gtk.immodules..."
+ gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
+ gtk-query-immodules-3.0 --update-cache
+ echo "Done."
+
+ gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+ echo "Updating gtk.immodules..."
+ gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
+ gtk-query-immodules-3.0 --update-cache
+ echo "Done."
+
+}