]> git.saurik.com Git - apt.git/blob - debian/postrm
Move sysconf(_SC_OPEN_MAX); out of the for() loop to avoid unneeded syscalls
[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 set -e
12
13 #DEBHELPER#
14
15 case "$1" in
16 remove)
17 ;;
18 purge)
19 rm -rf /var/cache/apt
20 rm -rf /var/lib/apt
21 esac
22