summaryrefslogtreecommitdiff
path: root/libre/spacefm-libre/spacefm.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/spacefm-libre/spacefm.install')
-rw-r--r--libre/spacefm-libre/spacefm.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/spacefm-libre/spacefm.install b/libre/spacefm-libre/spacefm.install
new file mode 100644
index 000000000..76a5d56b9
--- /dev/null
+++ b/libre/spacefm-libre/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
+}