install.sh: Output MANPATH with trailing colon

Bizarre requirement to extend the system MANPATH.
This commit is contained in:
Anmol Sethi 2022-11-16 05:17:57 -08:00
parent 358862e317
commit f630edba22
No known key found for this signature in database
GPG key ID: 25BC68888A99A8BA
2 changed files with 2 additions and 2 deletions

View file

@ -194,7 +194,7 @@ EOF
if ! manpath | grep -qF "$PREFIX/share/man"; then
logcat >&2 <<EOF
Extend your \$MANPATH to view d2's manpages:
export MANPATH=$PREFIX/share/man\${MANPATH+:\$MANPATH}
export MANPATH=$PREFIX/share/man:\$MANPATH
Then run:
man d2
EOF

View file

@ -628,7 +628,7 @@ EOF
if ! manpath | grep -qF "$PREFIX/share/man"; then
logcat >&2 <<EOF
Extend your \$MANPATH to view d2's manpages:
export MANPATH=$PREFIX/share/man\${MANPATH+:\$MANPATH}
export MANPATH=$PREFIX/share/man:\$MANPATH
Then run:
man d2
EOF