Files
apt/debian/apt.postrm
David Kalnischkies 5b55915a9b rename postrm to apt.postrm
It helps in identifying its affiliation.
Also removes the old postinst which was hidden by apt.postinst for a
long time now and would just install a sources.list in edgecases which
is probably not a good idea (e.g. on my system /etc/apt/sources.list
does not exist). It is better done by the installer of the distro.

Git-Dch: Ignore
2014-09-27 00:12:13 +02:00

23 lines
449 B
Bash
Executable File

#! /bin/sh
# apt postrm
# Copyright (C) 1998, Ben Gertzfield <che@debian.org>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
set -e
#DEBHELPER#
case "$1" in
remove)
;;
purge)
rm -rf /var/cache/apt
rm -rf /var/lib/apt
esac