File: postrm

package info (click to toggle)
apt 0.7.20.2%2Blenny2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 9,012 kB
  • ctags: 3,682
  • sloc: cpp: 31,998; xml: 9,712; sh: 3,398; makefile: 728; perl: 209; python: 164
file content (22 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/sh

# apt postrm
# Copyright (C) 1998, Ben Gertzfield <che@debian.org>

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

set -e

#DEBHELPER#

case "$1" in
       remove)
		;;
       purge)
		rm -rf /var/cache/apt
		rm -rf /var/lib/apt
esac