mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
FreeBSD: Don't set MANPATH, use OS configuration
- make installer to set up man(1) paths using /usr/local/etc/man.d/* - don't override empty/unset MANPATH with compiled in default
This commit is contained in:
parent
f0a60e47b1
commit
c3cb5b8aa6
4 changed files with 28 additions and 1 deletions
|
@ -10,6 +10,7 @@ XCOMM #######
|
|||
PRODUCT=CDE
|
||||
FILESET=CDE-MIN
|
||||
DO_CONFIGURATION=""
|
||||
PREFIX=/usr/local
|
||||
retval=0
|
||||
|
||||
FixEtcServices()
|
||||
|
@ -194,6 +195,17 @@ RemoveMinFiles()
|
|||
EOF
|
||||
}
|
||||
|
||||
SetManPath()
|
||||
{
|
||||
DTMANPATH=CDE_INSTALLATION_TOP/share/man
|
||||
echo "MANPATH $DTMANPATH" > ${PREFIX}/etc/man.d/cde.conf
|
||||
}
|
||||
|
||||
UnSetManPath()
|
||||
{
|
||||
rm -f ${PREFIX}/etc/man.d/cde.conf
|
||||
}
|
||||
|
||||
VerifyInstalledFiles()
|
||||
{
|
||||
echo "Status mode owner group filename"
|
||||
|
@ -227,6 +239,8 @@ XCOMM ###############################################################
|
|||
|
||||
: FixEtcInetdDotConf
|
||||
|
||||
SetManPath
|
||||
|
||||
HASH
|
||||
HASH create the /var/dt/tmp directory for the dtspcd
|
||||
HASH
|
||||
|
@ -239,6 +253,8 @@ XCOMM ###############################################################
|
|||
elif [ "$OPERATION" = "deconfigure" ]
|
||||
then
|
||||
|
||||
UnsetManPath
|
||||
|
||||
UnfixEtcServices
|
||||
|
||||
: UnfixEtcInetdDotConf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue