/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: 2011-10-02 13:47:52 UTC
  • Revision ID: teddy@fukt.bsnet.se-20111002134752-c5g5ibcga4biz7ob
* plugins.d/plymouth.c (plymouth_pid): Changed to
                                       "/run/initramfs/plymouth.pid".
  (plymouth_old_pid): New; set to "/dev/.initramfs/plymouth.pid".
  (get_pid): Try both 'plymouth_pid' and 'plymouth_old_pid'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
 
1
#!/bin/sh -e
2
2
# This script can be called in the following ways:
3
3
#
4
4
# After the package was installed:
15
15
# If prerm fails during replacement due to conflict:
16
16
#       <postinst> abort-remove in-favour <new-package> <version>
17
17
 
18
 
set -e
19
 
 
20
18
case "$1" in
21
19
    configure)
22
20
        # Rename old "mandos" user and group
35
33
                --disabled-password --gecos "Mandos password system" \
36
34
                _mandos
37
35
        fi
38
 
        chown _mandos:_mandos /var/lib/mandos
39
36
        ;;
40
 
    
 
37
 
41
38
    abort-upgrade|abort-deconfigure|abort-remove)
42
39
        ;;
43
 
    
 
40
 
44
41
    *)
45
42
        echo "$0 called with unknown argument '$1'" 1>&2
46
43
        exit 1