manpath and permissions

This commit is contained in:
ale
2020-09-27 23:22:15 +02:00
parent 2d6e52b093
commit 2c77bb33b3
2 changed files with 3 additions and 1 deletions
+3 -1
View File
@@ -17,8 +17,10 @@ cp ./lib/* /usr/lib/lch
chmod 755 /usr/bin/lch
echo " Copied lch in /usr/bin"
if [ -z "$MANPATH" ];then
if [ -z "$MANPATH" ] && [ $(manpath 2> /dev/null) ];then
MANPATH=$(manpath)
else
MANPATH="/usr/local/man"
fi
MANDIR=${MANPATH%%:*}/man1
Regular → Executable
View File