From 0331f815a34777752bb6bab53242ca4999d0bb24 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 9 Aug 2021 13:58:32 +0200 Subject: [PATCH] profile: fix check for manpath (1) The [ got introduced in the refactoring and caused the setting of MANPATH to never happen. --- files/profile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/profile.sh b/files/profile.sh index 1af3139..3667da0 100644 --- a/files/profile.sh +++ b/files/profile.sh @@ -47,7 +47,7 @@ export PATH # Prepend custom man directories to MANPATH if they exist, so that we get # correct man page entries when multiple versions of a command are # available. -[ command -v manpath >/dev/null 2>&1 ] && MANPATH="$(unset MANPATH; manpath)" +command -v manpath >/dev/null 2>&1 && MANPATH="$(unset MANPATH; manpath)" while read -r dir; do case ":${MANPATH:=$dir}:" in *:"$dir":*) ;;