Prevent install script from adding manpage entries if they alraedy exists.
This commit is contained in:
parent
1b5883564b
commit
d615d15df8
@ -1398,7 +1398,7 @@ fi
|
||||
## - special for debian. set manpath entries
|
||||
## -
|
||||
if [ -f /etc/manpath.config ];then
|
||||
if ! grep /usr/local/php/man /etc/manpath.config > /dev/null 2<&1 ; then
|
||||
if ! grep /usr/local/php/php/man /etc/manpath.config > /dev/null 2<&1 ; then
|
||||
echo >> /etc/manpath.config
|
||||
echo "MANDATORY_MANPATH /usr/local/php/php/man /var/cache/man" >> /etc/manpath.config
|
||||
echo "MANPATH_MAP /usr/local/php/bin /usr/local/php/php/man" >> /etc/manpath.config
|
||||
|
Loading…
Reference in New Issue
Block a user