3c7673bc00
- Mark MAKE_JOBS_UNSAFE due to reported failures on systems with many cores - Mark BROKEN on 8.x - Avoid running pkg-install and displaying pkg-message in post-install target - Remove dirrms from plist - Canonicalize patch file names PR: 196344 Submitted by: jwbacon at tds.net (maintainer)
36 lines
1.1 KiB
Bash
36 lines
1.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
|
|
/bin/rm -f /var/db/condor
|
|
# Remove /home/condor, if empty
|
|
/bin/rmdir /home/condor/config
|
|
/bin/rmdir /home/condor/execute
|
|
/bin/rmdir /home/condor/log
|
|
/bin/rmdir /home/condor/spool
|
|
/bin/rmdir /home/condor
|
|
;;
|
|
esac
|