/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.postinst

  • Committer: Teddy Hogeborn
  • Date: 2009-02-05 02:33:05 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090205023305-o7rkhr55e7w4pe1m
* plugins.d/password-prompt.c (quit_now): Changed type to "volatile
                             sig_atomic_t".  All uses changed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash -e
 
1
#!/bin/sh -e
2
2
# This script can be called in the following ways:
3
3
#
4
4
# After the package was installed:
18
18
case "$1" in
19
19
    configure)
20
20
        # Rename old "mandos" user and group
21
 
        case "$(getent passwd mandos)" in
 
21
        case "`getent passwd mandos`" in
22
22
            *:Mandos\ password\ system,,,:/nonexistent:/bin/false)
23
23
                usermod --login _mandos mandos
24
24
                groupmod --new-name _mandos mandos
37
37
        ;;
38
38
 
39
39
    *)
40
 
        echo "$0 called with unknown argument \`$1'" 1>&2
 
40
        echo "$0 called with unknown argument '$1'" 1>&2
41
41
        exit 1
42
42
        ;;
43
43
esac