This file is indexed.

postinst is in wine-development 3.6-1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/bin/sh

set -e

case "$1" in
    configure)
        dpkg-trigger wine-development
        ;;
    triggered)
        # debian alternatives system
        case -development in
            -stable)
                PRIORITY=70;;
            -development)
                PRIORITY=50;;
            *)
                echo "-development unknown"; exit 1;;
        esac

        apps="wineserver
              msiexec
              regedit
              winecfg
              winedbg
              wineboot
              winefile
              winepath
              regsvr32
              wineconsole

              wine64

              wmc
              wrc
              widl
              winecpp
              winegcc
              wineg++
              winedump
              winebuild
              winemaker"

        slaves=
        for app in $apps; do
            slaves="$slaves
                    --slave /usr/bin/$app $app
                            /usr/bin/${app}-development
                    --slave /usr/share/man/man1/${app}.1.gz ${app}.1.gz
                            /usr/share/man/man1/${app}-development.1.gz"
        done

        update-alternatives --quiet \
            --install /usr/bin/wine wine /usr/bin/wine-development $PRIORITY \
            $slaves \
            --slave /usr/share/man/man1/wine.1.gz wine.1.gz \
                    /usr/share/man/man1/wine-development.1.gz \
            --slave /usr/share/man/de/man1/wine.1.gz wine.de.1.gz \
                    /usr/share/man/de/man1/wine-development.1.gz \
            --slave /usr/share/man/fr/man1/wine.1.gz wine.fr.1.gz \
                    /usr/share/man/fr/man1/wine-development.1.gz \
            --slave /usr/share/man/pl/man1/wine.1.gz wine.pl.1.gz \
                    /usr/share/man/pl/man1/wine-development.1.gz \
            --slave /usr/share/man/de/man1/wineserver.1.gz wineserver.de.1.gz \
                    /usr/share/man/de/man1/wineserver-development.1.gz \
            --slave /usr/share/man/fr/man1/wineserver.1.gz wineserver.fr.1.gz \
                    /usr/share/man/fr/man1/wineserver-development.1.gz \
            --slave /usr/share/man/de/man1/winemaker.1.gz winemaker.de.1.gz \
                    /usr/share/man/de/man1/winemaker-development.1.gz \
            --slave /usr/share/man/fr/man1/winemaker.1.gz winemaker.fr.1.gz \
                    /usr/share/man/fr/man1/winemaker-development.1.gz \
            --slave /usr/share/icons/hicolor/scalable/apps/wine.svg wine.svg \
                    /usr/share/icons/hicolor/scalable/apps/wine-development.svg
        ;;
esac



exit 0