~ubuntu-branches/ubuntu/precise/denyhosts/precise-updates

« back to all changes in this revision

Viewing changes to debian/denyhosts.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Michael Meskes
  • Date: 2010-01-24 15:37:15 UTC
  • Revision ID: james.westby@ubuntu.com-20100124153715-75wj69ml8ymmie75
Tags: 2.6-6.1
* Non-maintainer upload.
* Do not unconditionally delete logrotate file in postrm script. This breaks
  all upgrades or makes the file silently disappear, although it should be
  installed by the package. Patch the old postrm script to not delete the
  file anymore. (Closes: #531627, #562555) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    purge)
8
8
        rm -f /var/log/denyhosts /var/log/denyhosts.0 /var/log/denyhosts.[0-9].gz
9
9
        rm -fr /var/lib/denyhosts
10
 
        rm -f /etc/logrotate.d/denyhosts
11
10
        ;;
 
11
 
12
12
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
13
 
        rm -f /etc/logrotate.d/denyhosts
14
 
        ;;
 
13
        ;;
15
14
 
16
15
    *)
17
16
        echo "postrm called with unknown argument \`$1'" >&2