/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-04-17 08:26:17 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090417082617-eltetak5lzjyz55o
* initramfs-tools-hook: Bug fix: Add "--userid" and "--groupid" to
                        start of "plugin-runner.conf" file instead of
                        appending, to allow any preexisting options to
                        override.
* plugin-runner.conf: Improved wording.

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