This file is indexed.

postinst is in cpl-plugin-sinfo-calib 2.4.0+dfsg-3.

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
#!/bin/sh

set -e

PIPELINE=sinfo
VERSION=2.4.0

KIT=${PIPELINE}-kit-${VERSION}
CALIB=${PIPELINE}-calib-${VERSION}
URL=ftp://ftp.eso.org/pub/dfs/pipelines/sinfoni/${KIT}.tar.gz
TAR=${KIT}/${CALIB}.tar.gz
COMPONENTS="${CALIB}/cal"
TARGETDIR="/usr/share/cpl-plugins/${PIPELINE}-${VERSION}"

if [ "$1" = "configure" ] ; then
    mkdir -p ${TARGETDIR}
    wget -O- ${URL} | \
    tar xzO ${TAR} | \
    tar xzC ${TARGETDIR} ${COMPONENTS}  --strip-components=1
fi