mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-26 21:29:22 +01:00
warnings: check for the programs, not aliases!
This commit is contained in:
parent
94afe241bd
commit
530d3cd472
16
warnings
16
warnings
@ -1,11 +1,11 @@
|
||||
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 youtube-dl >/dev/null 2>&1 || { echo >&2 "WARNING: youtube-dl isn't installed! You should install it, because it's used as youtube-dl. What am I writing? Install it for fun"; } # Expect this to be removed in near future.
|
||||
command -v nping >/dev/null 2>&1 || { echo >&2 "WARNING: nping isn't installed! You should install it, because it's used as ping."; }
|
||||
command -v aptitude >/dev/null 2>&1 || { echo >&2 "WARNING: aptitude isn't installed! You should install it, because it's used as apt-get"; }
|
||||
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 \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 \youtube-dl >/dev/null 2>&1 || { echo >&2 "WARNING: youtube-dl isn't installed! You should install it, because it's used as youtube-dl. What am I writing? Install it for fun"; } # Expect this to be removed in near future.
|
||||
command -v \nping >/dev/null 2>&1 || { echo >&2 "WARNING: nping isn't installed! You should install it, because it's used as ping."; }
|
||||
command -v \aptitude >/dev/null 2>&1 || { echo >&2 "WARNING: aptitude isn't installed! You should install it, because it's used as apt-get"; }
|
||||
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."; }
|
||||
|
||||
if [ ! -f /usr/share/doc/popularity-contest/copyright ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user