summaryrefslogtreecommitdiff
path: root/libre/file-roller-libre/file-roller.install
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-07-11 11:39:00 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-07-11 11:39:00 -0300
commitd6d9f851bf049c5aa352a17775214f5e9001c4cd (patch)
tree63a290b358a92f917ef07224476a77412e8bd7d8 /libre/file-roller-libre/file-roller.install
parentf744b1d550b1d8ae8b86d2958ff0caacad7837e4 (diff)
libre/file-roller-libre-3.0.2-1
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
+}
+