This file is indexed.

preinst is in sse4.2-support 5.

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
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#!/bin/bash
#dash is fine, too, but not general /bin/sh (ulimit)
set -e

if [ "$1" = install -o "$1" = upgrade ]; then
    # Writing to /usr/lib is nasty but some folks mount everything noexec.
    FILE=`mktemp /usr/lib/sse4.2-support.XXXXXXXXXX`
    trap "rm -f '$FILE'" EXIT
    perl <<'END' |gzip -cdf >"$FILE"
binmode STDOUT;
print unpack "u*", <<'end';
M'XL(```````"`^U:?6Q3UQ6_[]E.')+X69!`"(,\&*C0+H8P8`$6R`L!7JK`
M:$FZ31",DSB)U\3N[.?RH=$Z>DWI*PUE%=*85@T-36/J'PA-*V,?FNRZPO1#
M&FREHJ3;$%U*'.AJK1#2-.3MW/?N]<>3W3!M^\\GNC[W=^XYYYYW[M=SKI_=
MW+R%91A$R80V(`W-T'$]D?,+DRH@JT5%\%F)YJ("P)8T/2,?9S*Y-=D/0F8H
MM:R.C?PK*),S:=R"<M-96R:'R)-V.-:1^;IT9#Z?P9>2?D4VTXXE=F@!$2_@
M,WB8!!8V/)^9E!;BS\@;428W$[YC6.K$];)2'1MY,\KDU.XQL"M`#TYVPA\G
M_>7*2P6)EW(Z#LM[/>UK5BWO[:SN]7B#^ZOWUZZI7K/*$?`Y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
    chmod u+x "$FILE"
    # "exec >;command" instead of "command >" looks strange but regular
    # redirections don't fully work within qemu-user.
    ret=0;(ulimit -c 0; exec >/dev/null 2>&1; "$FILE") || ret=$?
    rm -f "$FILE"
    trap - EXIT

    if [ $ret -ne 0 -a -n "$IGNORE_ISA" ]; then
        cat >&2 <<END
This machine doesn't support sse4.2, but override (IGNORE_ISA) is enabled.
Continuing...
END
	ret=0
    fi

    if [ $ret -eq 126 ]; then
        cat >&2 <<END
Couldn't execute test binary for sse4.2, you either do foreign multi-arch
without qemu or do something strange.  Assuming you know what you're doing.
Continuing...
END
	ret=0
    fi

    if [ $ret -ne 0 ]; then
        # Fail noisily, first via debconf (if installed).
        if [ -e /usr/share/debconf/confmodule ]; then

            . /usr/share/debconf/confmodule
            db_version 2.0

            db_fset sse4.2-support/fail seen false ||:
            db_reset sse4.2-support/fail ||:
            db_input critical sse4.2-support/fail ||:
            db_go ||:
            db_stop ||:
        fi

        cat >&2 <<END
This machine doesn't support sse4.2, sorry.
Aborting.
END
        exit 2
    fi
fi



exit 0