summaryrefslogtreecommitdiff
path: root/libre/file-roller-libre/file-roller.install
diff options
context:
space:
mode:
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
+}
+