freebsd-ports/sysutils/condor/pkg-deinstall

31 lines
854 B
Text
Raw Normal View History

#!/bin/sh
##########################################################################
# Script description:
# Install script for Condor scheduler
#
# Arguments:
# $1 = port name
# $2 = mode (e.g. 'POST-INSTALL')
#
# Returns:
# Standard
#
# History:
# Date Name Modification
# 2011-11-22 J Bacon Derived from Ganglia pkg-install
##########################################################################
case $2 in
DEINSTALL)
# Old log, spool, etc. in /home/condor are left in place.
# This could leave incompatible
# older files in place when Condor is upgraded. Not sure how backward
# compatible condor versions are with respect to logs, etc. For now,
# the syadmin is left to deal with this.
# Remove the link to /home/condor
/bin/rm -f /var/db/condor
;;
esac