source: trunk/postrm

Last change on this file was 16, checked in by adi, 16 years ago

Only remove /etc/default/torque when it exists

File size: 492 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    if [ -e $CONFIG_FILE ]
13    then
14        /bin/rm $CONFIG_FILE
15    fi
16
17    # if we still have debconf, also remove our entries from the DB
18    if [ -e /usr/share/debconf/confmodule ]
19    then
20        # Source debconf library.
21        . /usr/share/debconf/confmodule
22        db_purge
23    fi
24fi
25
26
27#DEBHELPER#
Note: See TracBrowser for help on using the repository browser.