~ubuntu-branches/ubuntu/hardy/slack/hardy-proposed

« back to all changes in this revision

Viewing changes to debian/prerm

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Pollock
  • Date: 2007-10-27 16:14:42 UTC
  • Revision ID: james.westby@ubuntu.com-20071027161442-z3wjuy3juutuxu7m
Tags: upstream-0.14.1
ImportĀ upstreamĀ versionĀ 0.14.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# $Id: prerm,v 1.1 2004/10/23 01:21:29 alan Exp $
 
3
# post remove script for the Debian GNU/Linux slack package
 
4
 
 
5
set -e
 
6
 
 
7
if [ "$1" = "purge" -o "$1" = "remove" ]; then
 
8
        . /etc/slack.conf
 
9
        # purge the cache
 
10
        rm -rf "$CACHE"/*
 
11
        # remove the stage
 
12
        rm -rf "$STAGE"
 
13
fi
 
14
 
 
15
exit 0