/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/mandos.prerm

  • Committer: Teddy Hogeborn
  • Date: 2008-12-28 10:35:32 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081228103532-rsh0y9slgh9jc3vo
* mandos (AvahiError): Converted to use unicode.  All users changed.
  (AvahiError.__init__): Take *args and **kwargs and pass on all
                         arguments to super() call.
  (AvahiError.__str__): Removed.
  (AvahiError.__unicode__): New.
  (entry_group_state_changed): Bug fix: Raise AvahiGroupError with one
                               argument, not two.
  (main): Bug fix: on AvahiError, removed "%s" from log message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
set -e
7
7
 
8
8
# summary of how this script can be called:
9
 
#        * <prerm> 'remove'
10
 
#        * <old-prerm> 'upgrade' <new-version>
11
 
#        * <new-prerm> 'failed-upgrade' <old-version>
12
 
#        * <conflictor's-prerm> 'remove' 'in-favour' <package> <new-version>
13
 
#        * <deconfigured's-prerm> 'deconfigure' 'in-favour'
14
 
#          <package-being-installed> <version> 'removing'
 
9
#        * <prerm> `remove'
 
10
#        * <old-prerm> `upgrade' <new-version>
 
11
#        * <new-prerm> `failed-upgrade' <old-version>
 
12
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
 
13
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
 
14
#          <package-being-installed> <version> `removing'
15
15
#          <conflicting-package> <version>
16
16
# for details, see /usr/share/doc/packaging-manual/
17
17
 
28
28
    upgrade|failed-upgrade)
29
29
        ;;
30
30
    *)
31
 
        echo "prerm called with unknown argument '$1'" >&2
 
31
        echo "prerm called with unknown argument \`$1'" >&2
32
32
        exit 0
33
33
    ;;
34
34
esac