diff --git a/recommends b/recommends index 67a40c40..119a191e 100755 --- a/recommends +++ b/recommends @@ -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