File: libfox-1.6-dev.postinst

package info (click to toggle)
fox1.6 1.6.57-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 17,592 kB
  • sloc: cpp: 148,083; sh: 4,294; ansic: 2,345; makefile: 1,422; perl: 119
file content (27 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
# postinst script for fox
#
# see: dh_installdeb(1)

set -e

vers=1.6
prio=16

if [ "$1" = "configure" ]; then

  update-alternatives --install /usr/bin/fox-config fox-config \
    /usr/bin/fox-config-${vers}  ${prio} \
    --slave /usr/share/man/man1/fox-config.1.gz fox-config.1.gz \
    /usr/share/man/man1/fox-config-${vers}.1.gz

  update-alternatives --install /usr/bin/reswrap reswrap \
    /usr/bin/reswrap-${vers}  ${prio} \
    --slave /usr/share/man/man1/reswrap.1.gz reswrap.1.gz \
    /usr/share/man/man1/reswrap-${vers}.1.gz

fi

#DEBHELPER#

exit 0