Rev 23 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | magnus | 1 | #!/bin/sh -e |
2 | |||
3 | mode=$1 |
||
4 | |||
5 | source_package=libspf2 |
||
6 | |||
7 | case "$mode" in |
||
8 | configure ) |
||
9 | prev_version=$2 |
||
10 | |||
23 | magnus | 11 | update-alternatives --install /usr/bin/spfquery spfquery /usr/bin/spfquery.$source_package 25 \ |
12 | --slave /usr/share/man/man1/spfquery.1.gz spfquery.1.gz /usr/share/man/man1/spfquery.$source_package.1.gz |
||
5 | magnus | 13 | update-alternatives --install /usr/sbin/spfd spfd /usr/sbin/spfd.$source_package 25 |
2 | magnus | 14 | ;; |
15 | esac |
||
16 | |||
63 | magnus | 17 | # Replace documentation directory with symlink |
18 | docdir="/usr/share/doc/spfquery" |
||
19 | if [ -d $docdir ] && [ ! -L $docdir ]; then |
||
20 | if rmdir $docdir 2>/dev/null; then |
||
21 | ln -sf libspf2-2 $docdir |
||
22 | fi |
||
23 | fi |
||
24 | |||
2 | magnus | 25 | #DEBHELPER# |