summaryrefslogtreecommitdiff
path: root/libre/p7zip-libre/install
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-09-07 15:47:10 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-09-07 15:47:10 -0300
commit00592929fa729aadb084d4e59c3658ea76e31ea2 (patch)
treebd7af5cd218c5565185cc7a98cf24fcbacf99ecc /libre/p7zip-libre/install
parent9f1c4bc86d2cc8eae006c9caaf1eebd6e2e3116e (diff)
libre/p7zip-libre-9.20.1-1
Diffstat (limited to 'libre/p7zip-libre/install')
-rw-r--r--libre/p7zip-libre/install14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/p7zip-libre/install b/libre/p7zip-libre/install
new file mode 100644
index 000000000..2502df4a6
--- /dev/null
+++ b/libre/p7zip-libre/install
@@ -0,0 +1,14 @@
+post_install() {
+ [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true
+ [[ -x usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor || true
+}
+
+post_upgrade() {
+ post_install
+}
+
+
+post_remove() {
+ post_install
+}
+