summaryrefslogtreecommitdiff
path: root/libre/p7zip/install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 22:12:38 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 22:12:38 -0300
commit89c3e689a0a3348b23eeef904ba5fc936a92382c (patch)
treed06c90bb79f01e9b9011a5e5b94d04524d818e41 /libre/p7zip/install
parent35f7581c202decb6716adca302099aa6e136f00f (diff)
downloadabslibre-89c3e689a0a3348b23eeef904ba5fc936a92382c.tar.gz
abslibre-89c3e689a0a3348b23eeef904ba5fc936a92382c.tar.bz2
abslibre-89c3e689a0a3348b23eeef904ba5fc936a92382c.zip
p7zip: remove libre suffix and add complex pkgrel
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
+}