summaryrefslogtreecommitdiff
path: root/libre/p7zip/install
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-04 23:36:12 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-04 23:36:12 -0300
commit8d7cc8ee25bfa49de9806cdcfc42a731ee1fb73e (patch)
tree1230c1c13d7e24963c090c66350e1e1b55d020ee /libre/p7zip/install
parente1b79b496842854347db69bfacd1188a0a88ab0e (diff)
parent4edfb3ebe56dc0fe99db55597a3d0aab0a3e7f72 (diff)
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/p7zip/install')
-rw-r--r--libre/p7zip/install13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/p7zip/install b/libre/p7zip/install
new file mode 100644
index 000000000..7f3cc4358
--- /dev/null
+++ b/libre/p7zip/install
@@ -0,0 +1,13 @@
+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
+}