mirror of
https://github.com/ukui/apt.git
synced 2026-03-09 09:35:45 -07:00
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
23 lines
449 B
Bash
Executable File
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
|
|
|