| 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 | case "$1" in |
| 12 | purge) |
| 13 | echo -n "Removing APT cache and state files... " |
| 14 | echo -n "/var/cache/apt" |
| 15 | rm -rf /var/cache/apt |
| 16 | echo -n ", /var/lib/apt" |
| 17 | rm -rf /var/lib/apt |
| 18 | echo ". Done." |
| 19 | esac |
| 20 | |