recommends: check for redshift only on linux

This commit is contained in:
Mika Suomalainen 2012-09-16 15:47:02 +03:00
parent 8119994674
commit 20d0ec4a4a
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,11 @@
uname=`uname`
command -v \youtube-dl >/dev/null 2>&1 || { echo >&2 "shell-things contains youtube-dl alias for automatically setting video title as name, so you might want to install youtube-dl."; }
command -v \gtk-redshift >/dev/null 2>&1 || { echo >&2 "xsessionrc tries to start gtk-redshift automatically on boot, so you might want to install it (or redshift in some distributions)."; }
if [ $uname = "linux" ]
then
command -v \gtk-redshift >/dev/null 2>&1 || { echo >&2 "xsessionrc tries to start gtk-redshift automatically on boot, so you might want to install it (or redshift in some distributions)."; }
fi
if [ ! -f /usr/share/doc/gnupg-curl/copyright ]
then