freebsd-ports/sysutils/condor/pkg-deinstall
Philip M. Gollucci 52e98e03cc sysutils/condor: update 8.2.6 -> 8.2.8
Update to latest stable release, canonicalize patch filenames, eliminate
GCC dependency and MAKE_JOBS_UNSAFE, replace files/condor_config.in with
version-specific example file provided in the dist, move sample files to
etc/*.sample, improvements to condor_config.local.sample and
condor-config script, make rc script more reliable by replacing fixed
sleep delays with more intelligent wait loops.

PR:                  200713
Submitted by:        jwbacon@tds.net (maintainer)
2015-07-10 04:07:17 +00:00

36 lines
1 KiB
Bash

#!/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 deleted if empty, otherwise
# 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
rm -f /var/db/condor
# Remove /home/condor, if empty
rmdir /home/condor/config
rmdir /home/condor/execute
rmdir /home/condor/log
rmdir /home/condor/spool
rmdir /home/condor
;;
esac