#
# Add P4VRES to /etc/profile.
#
if ! grep P4VRES /etc/profile > /dev/null ; then
    cat <<! >> /etc/profile

#
# P4V needs this environment variable to find its help files etc.
#
export P4VRES=/usr/share/perforce/P4VResources
!
fi


# Clean out the source. We can't cache it because the filename (p4v.tgz)
# is the same whatever the version. There seems no way to work around this
# at the moment.
rm -f $SOURCE_CACHE/$SOURCE 
