~opensource-subakutty/ssh-askpass-keyring/ssh-askpass-keyring-0.2

« back to all changes in this revision

Viewing changes to packaging/debian/ssh-askpass-keyring.postinst

  • Committer: Brandon Williams
  • Date: 2009-01-29 03:04:16 UTC
  • Revision ID: opensource@subakutty.net-20090129030416-p46kas3ighebje8v
add ubuntu packaging support

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
case "$1" in
 
6
        configure)
 
7
                update-alternatives --quiet \
 
8
                        --install /usr/bin/ssh-askpass ssh-askpass \
 
9
                                /usr/bin/ssh-askpass-keyring 50 \
 
10
                        --slave /usr/share/man/man1/ssh-askpass.1.gz \
 
11
                                ssh-askpass.1.gz \
 
12
                                /usr/share/man/man1/ssh-askpass-keyring.1.gz
 
13
                ;;
 
14
 
 
15
        abort-upgrade|abort-remove|abort-deconfigure)
 
16
                ;;
 
17
 
 
18
        *)
 
19
                echo "postinst called with unknown argument \`$1'" >&2
 
20
                exit 0
 
21
                ;;
 
22
esac
 
23
 
 
24
#DEBHELPER#
 
25
 
 
26
exit 0
 
27