source: trunk/postrm @ 10

Last change on this file since 10 was 10, checked in by adi, 17 years ago

Adrian's patches up to his internal revision r3471.

  • rewrite /etc/default/torque after dpkg-reconfigure
  • stop daemons (move to preinst?)
  • postrm/preinst hooks for dh_makeshlibs not working.
File size: 442 bytes
Line 
1#!/bin/sh -e
2#
3# Authors: Bas van der Vlies & Jaap Dijkshoorn
4#
5# SVN INFO:
6#       $Id: postrm 318 2004-02-02 11:56:16Z bas $
7#
8CONFIG_FILE=/etc/default/torque
9
10if [ "$1" = "purge" ]
11then
12        /bin/rm $CONFIG_FILE
13
14    # if we still have debconf, also remove our entries from the DB
15    if [ -e /usr/share/debconf/confmodule ]
16    then
17        # Source debconf library.
18        . /usr/share/debconf/confmodule
19        db_purge
20    fi
21fi
22
23
24#DEBHELPER#
Note: See TracBrowser for help on using the repository browser.