echo  "Installing GNUstep man path in /etc/man.conf"                 &&

if  !  grep  -q "GNUstep" /etc/man.conf;  
then
    echo "MANPATH /opt/GNUstep/System/Library/Documentaition/man"    \
	>> /etc/man.conf                                             &&
    echo "GNUstep MANPATH added to /etc/man.conf."
fi                                                                   &&

if  !  grep  -q "GNUstep" /etc/ld.so.conf;  
then
    echo "/opt/GNUstep/System/Library/Libraries"                     \
	>> /etc/ld.so.conf                                           &&
    echo "GNUstep library path added to /etc/ld.so.conf."
fi                                                                   &&

unset GNUSTEP_LOCAL_ROOT
unset GNUSTEP_HOST
unset GNUSTEP_MAKEFILES
unset GNUSTEP_NETWORK_ROOT
unset GNUSTEP_FLATTENED
unset GNUSTEP_HOST_OS
unset GNUSTEP_HOST_VENDOR
unset GNUSTEP_HOST_CPU
unset GNUSTEP_USER_ROOT
unset GNUSTEP_SYSTEM_ROOT
unset GNUSTEP_PATHLIST

. /etc/profile.d/GNUstep.sh
