summaryrefslogtreecommitdiff
path: root/libre/file-roller-libre/file-roller.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-11 23:12:58 +0000
committerroot <root@rshg047.dnsready.net>2011-07-11 23:12:58 +0000
commite03f4b9bc9da3327de94bc58aa92ecb836c1580d (patch)
treeafaa891d69789d31246d52c3d9c47c236929d3c2 /libre/file-roller-libre/file-roller.install
parent1a1b748f1738b1989a834d75b1623be21bf9bab5 (diff)
Mon Jul 11 23:12:58 UTC 2011
Diffstat (limited to 'libre/file-roller-libre/file-roller.install')
-rw-r--r--libre/file-roller-libre/file-roller.install23
1 files changed, 23 insertions, 0 deletions
diff --git a/libre/file-roller-libre/file-roller.install b/libre/file-roller-libre/file-roller.install
new file mode 100644
index 000000000..182126c39
--- /dev/null
+++ b/libre/file-roller-libre/file-roller.install
@@ -0,0 +1,23 @@
+pkgname=file-roller
+
+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
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+
+post_remove() {
+ post_install $1
+}
+