summaryrefslogtreecommitdiff
path: root/libre/file-roller-libre/file-roller.install
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-07-07 21:41:42 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-07-07 21:41:42 -0500
commita385416a6942ab9609019b97b8a8aa3068b6812e (patch)
treecc55f608327aa7640c12e3220116fb24564cf780 /libre/file-roller-libre/file-roller.install
parente99a90fb121148ecfdd29c63446c42474c4e2433 (diff)
parentf4b22150c67a332d15bbbf322ab34066b0dfafb6 (diff)
Merge branch 'master' of vparabola:~/projects/abslibre
Conflicts: libre/libretools/PKGBUILD
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
+}
+