Commit b17abbd1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-functions: fix which command detection (deb based distro related)

parent 3a93bd57
......@@ -21,9 +21,11 @@
check_core_commands()
{
which --help >/dev/null || fatal "Can't find which command (which package is missed?)"
grep --help >/dev/null || fatal "Can't find grep command (coreutils package is missed?)"
sed --help >/dev/null || fatal "Can't find sed command (sed package is missed?)"
#which --help >/dev/null || fatal "Can't find which command (which package is missed?)"
# broken which on Debian systems
which which >/dev/null || fatal "Can't find which command (which or debianutils package is missed?)"
which grep >/dev/null || fatal "Can't find grep command (coreutils package is missed?)"
which sed >/dev/null || fatal "Can't find sed command (sed package is missed?)"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment