fixed help2man check

This commit is contained in:
jahway603
2022-09-20 01:21:13 -04:00
parent e7e125df3b
commit e836a3c0c6

View File

@@ -11,17 +11,8 @@ HUSHCLI=${HUSHCLI:-$SRCDIR/hush-cli}
HUSHTX=${HUSHTX:-$SRCDIR/hush-tx} HUSHTX=${HUSHTX:-$SRCDIR/hush-tx}
[ ! -x $HUSHD ] && echo "$HUSHD not found or not executable." && exit 1 [ ! -x $HUSHD ] && echo "$HUSHD not found or not executable." && exit 1
# Check if help2man is installed & if not then display error to user and exit
# TODO: this does not work correctly, when help2man is installed, it still fails [ ! -x "$(command -v help2man)" ] && echo "help2man could not be found" && echo "Please install from your Linux package manager and try again" && echo "On Debian-based systems you can do: apt-get install help2man" && exit 1
# Check if help2man is installed
# If not then display error to user and exit
#if ! command -v help2man &> /dev/null
#then
# echo "help2man could not be found"
# echo "Please install from your Linux package manager and try again"
# echo "On Debian-based systems you can do: apt-get install help2man"
# exit
#fi
# use this if hushd is not running # use this if hushd is not running
#HUSHVER="v3.6.2" #HUSHVER="v3.6.2"