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