summarylogtreecommitdiffstats
path: root/lyricsx.install
diff options
context:
space:
mode:
Diffstat (limited to 'lyricsx.install')
-rw-r--r--lyricsx.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/lyricsx.install b/lyricsx.install
new file mode 100644
index 000000000000..bcfa108b31c2
--- /dev/null
+++ b/lyricsx.install
@@ -0,0 +1,17 @@
+update_cache() {
+ if which gtk-update-icon-cache &> /dev/null ; then
+ gtk-update-icon-cache -f -t -q /usr/share/icons/hicolor
+ fi
+
+ if which update-desktop-database &> /dev/null ; then
+ update-desktop-database -q
+ fi
+}
+
+post_install() {
+ update_cache
+}
+
+post_remove() {
+ update_cache
+}