aboutsummaryrefslogtreecommitdiff
path: root/desktop/compton/doinst.sh
diff options
context:
space:
mode:
authormelikamp <melikamp@melikamp.net>2018-02-23 22:46:54 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2018-02-23 22:46:54 +0000
commitf37cd15a77eb47353b42cd800fd278390266cbb1 (patch)
tree258d620e6b09303f00f6979bd9a94e35f5def456 /desktop/compton/doinst.sh
parent92ab1092e482da027193ded625952b964ca92cf7 (diff)
desktop/compton: Updated for version 316eac0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/compton/doinst.sh')
-rw-r--r--desktop/compton/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/compton/doinst.sh b/desktop/compton/doinst.sh
new file mode 100644
index 000000000000..65c7e2eeb9aa
--- /dev/null
+++ b/desktop/compton/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi