source: branches/1.0/debian/jobmonarch-jobmond.prerm

Last change on this file was 896, checked in by ramonb, 9 years ago

debian/control:

  • depend on Ganglia 3.3.8

debian/*.postinst:

  • (de)configure is actually called on upgrade
  • changed upgrade logic to check if $2 is empty

debian/jobmonarch-webfrontend.prerm:

  • only print warning upon removal

debian/jobmonarch-jobmond.prerm, debian/jobmonarch-jobarchived.prerm:

  • only disable runlevel symlinks on removal
  • Property svn:executable set to *
File size: 325 bytes
Line 
1#!/bin/sh
2
3PATH=/bin:/sbin:/usr/bin:/usr/sbin
4
5set -e
6
7case "$1" in
8    deconfigure)
9        /etc/init.d/jobmond stop || true
10        ;;
11    remove)
12        # Only on removal (not during upgrade)
13        /etc/init.d/jobmond stop || true
14        update-rc.d -f jobmond remove || true
15        ;;
16    *)
17        ;;
18esac
19
20exit 0
Note: See TracBrowser for help on using the repository browser.