summaryrefslogtreecommitdiff
path: root/desktop/redshift/doinst.sh
diff options
context:
space:
mode:
authorDavid Matthew Jerry Koenig <koenigdavidmj@gmail.com>2010-03-03 14:15:09 -0600
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:23:24 +0200
commit4391b39e7c3b6de23893f9822d8a6b2df33fb9a9 (patch)
tree0ee27f094284258b20a1ff6840af25ed0c50392e /desktop/redshift/doinst.sh
parent370cc0ba10fd2b686fa123a621ef076d120b8ebb (diff)
downloadslackbuilds-4391b39e7c3b6de23893f9822d8a6b2df33fb9a9.tar.gz
desktop/redshift: Added.
Redshift adjusts the colour temperature of your screen according to your surroundings. Thanks to David Matthew Jerry Koenig.
Diffstat (limited to 'desktop/redshift/doinst.sh')
-rw-r--r--desktop/redshift/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/redshift/doinst.sh b/desktop/redshift/doinst.sh
new file mode 100644
index 0000000000..30eb690936
--- /dev/null
+++ b/desktop/redshift/doinst.sh
@@ -0,0 +1,6 @@
+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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+