#!/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