summarylogtreecommitdiffstats
path: root/lcmc.install
diff options
context:
space:
mode:
authormrxx2015-07-07 14:36:12 +0200
committerLukas Fleischer2015-07-08 13:25:13 +0200
commit2270c337f9d9f18ca2563fd49465c1c5d877db6f (patch)
tree523bef6ef631ff8a663836ef6bccc5ccebb5aabd /lcmc.install
downloadaur-2270c337f9d9f18ca2563fd49465c1c5d877db6f.tar.gz
Initial import
Diffstat (limited to 'lcmc.install')
-rw-r--r--lcmc.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/lcmc.install b/lcmc.install
new file mode 100644
index 000000000000..b81efc695f86
--- /dev/null
+++ b/lcmc.install
@@ -0,0 +1,12 @@
+post_install() {
+ [[ -x /usr/bin/update-desktop-database ]] && /usr/bin/update-desktop-database -q
+ [[ -x /usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}