postrm 574 B

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