]> git.saurik.com Git - apt.git/blame - debian/postrm
Make purge work again for config-files (LP: #244598) (Closes: #150831)
[apt.git] / debian / postrm
CommitLineData
2d18d44e
AL
1#! /bin/sh
2
3# apt postrm
4# Copyright (C) 1998, Ben Gertzfield <che@debian.org>
5
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10
0c96f6df
EL
11set -e
12
1156d969
AL
13#DEBHELPER#
14
2d18d44e 15case "$1" in
e417fca8 16 remove)
e417fca8 17 ;;
2d18d44e 18 purge)
2d18d44e 19 rm -rf /var/cache/apt
b2e465d6 20 rm -rf /var/lib/apt
2d18d44e
AL
21esac
22