(file) Return to settogpath CVS log (file) (dir) Up to [Pegasus] / pegasus / installs / scripts

File: [Pegasus] / pegasus / installs / scripts / Attic / settogpath (download)
Revision: 1.2, Wed Mar 12 19:05:23 2008 UTC (16 years, 3 months ago) by denise.eckstein
Branch: MAIN
CVS Tags: TASK-PEP362_RestfulService-merged_out_from_trunk, TASK-PEP348_SCMO-merged_out_from_trunk, TASK-PEP317_pullop-merged_out_from_trunk, TASK-PEP317_pullop-merged_in_to_trunk, HPUX_TEST, HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
BUG#: 7000
TITLE: settogpath script packaged in Linux RPM is out-of-date

DESCRIPTION: Removed settogpath from RPM and CVS.

#!/bin/bash
# Set global PATH and MANPATH for tog-pegasus

echo "Executing this script will add the tog-pegasus binary directories,"
echo "/opt/tog-pegasus/bin and /opt/tog-pegasus/sbin, to the global $PATH. "
echo "It will also add the tog-pegasus man page directory,"
echo "/opt/tog-pegasus/share/man, to the global $MANPATH."
read -r -p "Do you want to continue? (y/n) " ANSWER
if (test $ANSWER = 'y') || (test $ANSWER = 'Y'); then
  echo "export PATH=\$PATH:/opt/tog-pegasus/bin:/opt/tog-pegasus/sbin" >> /etc/profile
  echo "if test -x /usr/bin/manpath; then" >> /etc/profile
  if test -f /etc/redhat-release; then
     echo "  MANPATH=\`/usr/bin/manpath -w\`" >> /etc/profile
  else
     echo "  MANPATH=\`/usr/bin/manpath -q\`" >> /etc/profile
  fi
  echo "  export MANPATH=\$MANPATH:/opt/tog-pegasus/share/man" >> /etc/profile
  echo "fi" >> /etc/profile
fi

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2