summaryrefslogtreecommitdiff
path: root/desktop/redshift/doinst.sh
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2017-06-02 22:47:37 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-06-02 22:48:01 +0100
commit8ec8651051f1278ed5076bfe464d4decc8729d6c (patch)
treeec455d0febbd93b78bbc62f0f07488bac4b002a1 /desktop/redshift/doinst.sh
parent58db60d06c9e8e24a1118d88f64f637b27e2ad15 (diff)
downloadslackbuilds-8ec8651051f1278ed5076bfe464d4decc8729d6c.tar.gz
desktop/redshift: Updated for version 1.11 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/redshift/doinst.sh')
-rw-r--r--desktop/redshift/doinst.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/redshift/doinst.sh b/desktop/redshift/doinst.sh
index 19400050fd..65c7e2eeb9 100644
--- a/desktop/redshift/doinst.sh
+++ b/desktop/redshift/doinst.sh
@@ -1,6 +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
-