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