]> git.saurik.com Git - apt.git/blob - debian/postrm
Define libapt-inst:provides when building the -dev pkg.
[apt.git] / debian / postrm
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
11 #DEBHELPER#
12
13 case "$1" in
14 remove)
15 ldconfig
16 ;;
17 purge)
18 echo -n "Removing APT cache and state files... "
19 echo -n "/var/cache/apt"
20 rm -rf /var/cache/apt
21 echo -n ", /var/lib/apt"
22 rm -rf /var/lib/apt
23 echo ". Done."
24 esac
25