~ubuntu-branches/ubuntu/feisty/wmmoonclock/feisty

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Martin A. Godisch
  • Date: 2007-04-01 19:30:02 UTC
  • Revision ID: james.westby@ubuntu.com-20070401193002-81eb383cvynu2fli
Tags: 1.27-22
Fixed postrm, closes: #417144.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
set -e
4
4
 
5
5
if [ "$1" = purge ]; then
6
 
        . /usr/share/debconf/confmodule
7
 
        db_purge
8
 
        db_stop
9
 
        ucf --purge /etc/menu/wmmoonclock
 
6
        if [ -e /usr/share/debconf/confmodule ]; then
 
7
                . /usr/share/debconf/confmodule
 
8
                db_purge
 
9
                db_stop
 
10
        fi
 
11
        if [ -x /usr/bin/ucf ]; then
 
12
                ucf --purge /etc/menu/wmmoonclock
 
13
        fi
10
14
        rm -f /etc/menu/wmmoonclock /etc/menu/wmmoonclock.*
11
15
fi
12
16