Browse Source

manpath and permissions

0.4r3
ale 3 years ago
parent
commit
afdbfffd5a
2 changed files with 3 additions and 1 deletions
  1. +3
    -1
      install.sh
  2. +0
    -0
      uninstall.sh

+ 3
- 1
install.sh 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


+ 0
- 0
uninstall.sh View File


Loading…
Cancel
Save