postrm 534 B

123456789101112131415161718192021
  1. #! /bin/sh
  2. # apt postrm
  3. # Copyright (C) 1998, Ben Gertzfield <che@debian.org>
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2 of the License, or
  7. # (at your option) any later version.
  8. case "$1" in
  9. purge)
  10. echo -n "Removing APT cache and state files... "
  11. echo -n "/var/cache/apt"
  12. rm -rf /var/cache/apt
  13. echo -n ", /var/state/apt"
  14. rm -rf /var/state/apt
  15. echo ". Done."
  16. esac