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

  • Committer: Teddy Hogeborn
  • Date: 2008-09-19 13:50:22 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080919135022-214t21hetv8jgv0y
* debian/mandos-client.docs: New.  Add README and TODO file.
* debian/mandos.docs: - '' -

* debian/mandos-client.links: New.  Create plugin-runner.conf(5) link.

* debian/rules (DH_VERBOSE): Commented out.
               Removed commented-out unused dh_* stuff.  Removed
               "dh_makeshlibs".

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
# Create client key pair
38
38
create_key(){
39
 
    if [ -r /etc/keys/mandos/pubkey.txt \
40
 
        -a -r /etc/keys/mandos/seckey.txt ]; then
41
 
        return 0
42
 
    fi
43
 
    if type mandos-keygen >/dev/null 2>&1; then
44
 
        mandos-keygen
45
 
    fi
 
39
        if type mandos-keygen >/dev/null 2>&1; then
 
40
            mandos-keygen
 
41
        fi
46
42
}
47
43
 
48
44
case "$1" in