Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / packaging / HP-UX / scripts / openafs-eng-man.configure
1 #!/bin/sh
2
3 echo "NOTE: Executing configure script."
4 #######
5 #
6 # (c) Copyright
7 #
8 ########
9
10 set -a
11 UTILS="/usr/lbin/sw/control_utils"
12 if [[ ! -f ${UTILS} ]]
13 then
14 echo "ERROR: Cannot find ${UTILS}"
15 exit 1
16 fi
17 . ${UTILS}
18
19 ############################################################################
20 # Set the global PATH to include OPENAFS software
21 ROOT=/usr/afs/
22
23 mod_pathfile -a MP ${ROOT}man
24
25 if [[ $? = 2 ]]
26 then
27 echo " /etc/MANPATH already contains the OPENAFS component."
28 else
29 echo "NOTE: Processes may need to be restarted to inherit"
30 echo " ${ROOT}/man in their PATH."
31 fi
32