warnings: move flip to recommends, it's not available in CentOS.

This commit is contained in:
Mika Suomalainen 2012-12-08 10:59:19 +02:00
parent e333a35486
commit 9c3ae830a1
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,9 @@
uname=`uname`
echo "Most of packages in recommends can be safely ignored, they are written for Debian/Ubuntu based distributions."
echo "CentOS doesn't have most of packages listed in this file."
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 \flip >/dev/null 2>&1 || { echo >&2 "WARNING: flip isn't installed. You might want to install it, because it's used in line ending conversions."; }
if [ $uname = "linux" ]
then
@ -17,4 +20,4 @@ then
echo "You might want to install popularity-contest. See http://popcon.debian.org/" && echo "If you aren't on Linux you can ignore this."
fi
command -v \rot13 >/dev/null 2>&1 || { echo >&2 "rot13 was removed from bashrc & zshrc, because it's provided by bsdgames. You might want to install it."; }
command -v \rot13 >/dev/null 2>&1 || { echo >&2 "rot13 was removed from bashrc & zshrc, because it's provided by bsdgames. You might want to install it."; }

View File

@ -6,7 +6,7 @@ command -v \lynx >/dev/null 2>&1 || { echo >&2 "WARNING: lynx isn't installed! Y
command -v \gpg-agent >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg-agent isn't installed. You should install it, because it's used by gpg.conf and xsessionrc in shell-things."; }
command -v \curl >/dev/null 2>&1 || { echo >&2 "WARNING: curl isn't installed! You should install it, because it's used by some aliases or functions."; }
command -v \pandoc >/dev/null 2>&1 || { echo >&2 "WARNING: pandoc isn't installed. It's used by some aliases or functions, so you might want to install it."; }
command -v \flip >/dev/null 2>&1 || { echo >&2 "WARNING: flip isn't installed. You might want to install it, because it's used in line ending conversions."; }
## To disable warnings, add the following (UNCOMMENTED!) to ~/.custom