summarylogtreecommitdiffstats
path: root/geary.install
diff options
context:
space:
mode:
Diffstat (limited to 'geary.install')
-rw-r--r--geary.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/geary.install b/geary.install
new file mode 100644
index 000000000000..8f7b48266ad9
--- /dev/null
+++ b/geary.install
@@ -0,0 +1,20 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ xdg-icon-resource forceupdate --theme hicolor
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/geary.schemas ]; then
+ usr/sbin/gconfpkg --uninstall geary
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+} \ No newline at end of file