]> git.saurik.com Git - apt.git/blame_incremental - debian/postrm
fix off-by-one error and do not use magic constant of 100 when checking StackPost
[apt.git] / debian / postrm
... / ...
CommitLineData
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
11set -e
12
13#DEBHELPER#
14
15case "$1" in
16 remove)
17 ;;
18 purge)
19 rm -rf /var/cache/apt
20 rm -rf /var/lib/apt
21esac
22