temporary workaround for sudo version check. Current test will fail when there is [:alpha:] in version number
This commit is contained in:
parent
917166ed11
commit
786e86c71d
1 changed files with 1 additions and 1 deletions
2
jhalfs
2
jhalfs
|
@ -252,7 +252,7 @@ check_version "1.15.0" "${tarVer}" "TAR"
|
|||
SUDO_LOC="`whereis -b sudo | cut -d " " -f2`"
|
||||
if [ -x $SUDO_LOC ]; then
|
||||
sudoVer=`sudo -V | head -n1 | cut -d " " -f3`
|
||||
echo "SUDO ${L_arrow}${BOLD}${sudoVer}${R_arrow}${OFF} ..OK"
|
||||
check_version "1.6.8" "${sudoVer}" "SUDO"
|
||||
else
|
||||
echo "${nl_}\"${RED}sudo${OFF}\" ${BOLD}must be installed on your system for jhalfs to run"
|
||||
exit 1
|
||||
|
|
Reference in a new issue