Changed minimal sudo version to 1.7.0, where the "-E" flag first appeared

This commit is contained in:
Pierre Labastie 2013-01-23 09:52:21 +00:00
parent b35ce443f5
commit f6ac40603a

View file

@ -113,7 +113,7 @@ check_prerequisites() { #
SUDO_LOC="$(whereis -b sudo | cut -d" " -f2)"
if [ -x $SUDO_LOC ]; then
sudoVer="$(sudo -V | head -n1 | cut -d" " -f3)"
check_version "1.6.8" "${sudoVer}" "SUDO"
check_version "1.7.0" "${sudoVer}" "SUDO"
else
echo "${nl_}\"${RED}sudo${OFF}\" ${BOLD}must be installed on your system for jhalfs to run"
exit 1