Debian Codegraph @

debian/libfox-1.6-dev.postinst

raw
1 #!/bin/sh
2 # postinst script for fox
3 #
4 # see: dh_installdeb(1)
5
6 set -e
7
8 vers=1.6
9 prio=16
10
11 if [ "$1" = "configure" ]; then
12
13 update-alternatives --install /usr/bin/fox-config fox-config \
14 /usr/bin/fox-config-${vers} ${prio} \
15 --slave /usr/share/man/man1/fox-config.1.gz fox-config.1.gz \
16 /usr/share/man/man1/fox-config-${vers}.1.gz
17
18 update-alternatives --install /usr/bin/reswrap reswrap \
19 /usr/bin/reswrap-${vers} ${prio} \
20 --slave /usr/share/man/man1/reswrap.1.gz reswrap.1.gz \
21 /usr/share/man/man1/reswrap-${vers}.1.gz
22
23 fi
24
25 #DEBHELPER#
26
27 exit 0