]>
Commit | Line | Data |
---|---|---|
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 | ||
1156d969 AL |
11 | #DEBHELPER# |
12 | ||
2d18d44e | 13 | case "$1" in |
e417fca8 AL |
14 | remove) |
15 | ldconfig | |
16 | ;; | |
2d18d44e AL |
17 | purge) |
18 | echo -n "Removing APT cache and state files... " | |
19 | echo -n "/var/cache/apt" | |
20 | rm -rf /var/cache/apt | |
b2e465d6 AL |
21 | echo -n ", /var/lib/apt" |
22 | rm -rf /var/lib/apt | |
2d18d44e AL |
23 | echo ". Done." |
24 | esac | |
25 |