summaryrefslogtreecommitdiff
path: root/libre/spacefm/spacefm.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 20:50:20 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 20:50:20 -0300
commit4ac32d4cf06625e145fe9b35d65c793192275d09 (patch)
treeac87358aee79fd1bee288d481f473a115068637e /libre/spacefm/spacefm.install
parent29af419728c92102a295f2aa17e989fc687c5f71 (diff)
downloadabslibre-4ac32d4cf06625e145fe9b35d65c793192275d09.tar.gz
abslibre-4ac32d4cf06625e145fe9b35d65c793192275d09.tar.bz2
abslibre-4ac32d4cf06625e145fe9b35d65c793192275d09.zip
spacefm: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/spacefm/spacefm.install')
-rw-r--r--libre/spacefm/spacefm.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/spacefm/spacefm.install b/libre/spacefm/spacefm.install
new file mode 100644
index 000000000..76a5d56b9
--- /dev/null
+++ b/libre/spacefm/spacefm.install
@@ -0,0 +1,14 @@
+post_install() {
+ update-mime-database /usr/share/mime > /dev/null
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ [[ -d /usr/share/icons/Faenza ]] && gtk-update-icon-cache -q -t -f /usr/share/icons/Faenza
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}