This file is indexed.

prerm is in globus-gram-job-manager-lsf-setup-seg 2.7-2.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

set -e

if [ -x "/etc/init.d/globus-scheduler-event-generator" ]; then
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d globus-scheduler-event-generator stop lsf || :
	else
		/etc/init.d/globus-scheduler-event-generator stop lsf || :
	fi
fi



if [ "$1" != "remove" -a "$1" != "purge" ]; then
	exit 0
fi

globus-gatekeeper-admin -d jobmanager-lsf-seg > /dev/null 2>&1 || :
globus-scheduler-event-generator-admin -d lsf > /dev/null 2>&1 || :

exit 0