summaryrefslogtreecommitdiffstats
path: root/abs/extra/p7zip/install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/p7zip/install')
-rw-r--r--abs/extra/p7zip/install13
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/extra/p7zip/install b/abs/extra/p7zip/install
new file mode 100644
index 0000000..7f3cc43
--- /dev/null
+++ b/abs/extra/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
+}