From 8b8d7e159368a5b54e9c9e20927c3347caae6e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Thu, 20 Jun 2013 15:56:49 -0300 Subject: maliit-framework: add new package to pcr repo --- pcr/maliit-framework/maliit-framework.install | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 pcr/maliit-framework/maliit-framework.install (limited to 'pcr/maliit-framework/maliit-framework.install') diff --git a/pcr/maliit-framework/maliit-framework.install b/pcr/maliit-framework/maliit-framework.install new file mode 100755 index 000000000..fc328d6c3 --- /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." + + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/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." + +} -- cgit v1.2.3-2-g168b