shell-things/warnings
2012-12-09 14:08:31 +02:00

17 lines
1.5 KiB
Plaintext

command -v \isohybrid >/dev/null 2>&1 || { echo >&2 "isohybrid isn't installed. It comes with package syslinux and is used to make iso image bootable from CD/USB when it's burned/written."; }
command -v \vim >/dev/null 2>&1 || { echo >&2 "WARNING: vim isn't installed You should install it, because it's used as text editor.!"; }
command -v \most >/dev/null 2>&1 || { echo >&2 "WARNING: most isn't installed! You should install it, because it's used as pager."; }
command -v \htop >/dev/null 2>&1 || { echo >&2 "WARNING: htop isn't installed! You should install it, because it's used as top."; }
command -v \gpg2 >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg2 isn't installed! You should install it, because it's used as gpg."; }
command -v \lynx >/dev/null 2>&1 || { echo >&2 "WARNING: lynx isn't installed! You should install it, because it's used by many functions."; }
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."; }
## To disable warnings, add the following (UNCOMMENTED!) to ~/.custom
#if [ -f ~/.warnings ]; then
# rm ~/.warnings
# fi