summaryrefslogtreecommitdiff
path: root/community/gtranslator/gtranslator.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/gtranslator/gtranslator.install')
-rw-r--r--community/gtranslator/gtranslator.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/gtranslator/gtranslator.install b/community/gtranslator/gtranslator.install
new file mode 100644
index 000000000..ea0fb1346
--- /dev/null
+++ b/community/gtranslator/gtranslator.install
@@ -0,0 +1,17 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ pre_remove
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}