man pages

This commit is contained in:
Duke Leto
2021-04-18 11:50:31 -04:00
parent cfcaf91709
commit 9be07c1452
4 changed files with 21 additions and 19 deletions

View File

@@ -12,14 +12,16 @@ HUSHTX=${HUSHTX:-$SRCDIR/hush-tx}
[ ! -x $HUSHD ] && echo "$HUSHD not found or not executable." && exit 1
# TODO: this does not work correctly, when help2man is installed, it still fails
# 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"
exit
fi
#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
#HUSHVER="v3.6.2"