This file is indexed.

postinst is in libtachyon-openmpi-0-dev 0.99~b6+dsx-8.

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
#!/bin/sh
set -e
add_libvariant_dev_alternative () {
	local libvariant=$1
	local libpriority=$2
	update-alternatives --quiet \
		--install \
			/usr/lib/x86_64-linux-gnu/libtachyon.so.0 \
			libtachyon.so.0 \
			/usr/lib/x86_64-linux-gnu/libtachyon-${libvariant}.so.0 $libpriority \
		--slave /usr/lib/x86_64-linux-gnu/libtachyon.so \
			libtachyon.so \
			/usr/lib/x86_64-linux-gnu/libtachyon-${libvariant}.so \
		--slave /usr/lib/x86_64-linux-gnu/libtachyon.so.0.0.0 \
			libtachyon.so.0.0.0 \
			/usr/lib/x86_64-linux-gnu/libtachyon-${libvariant}.so.0.0.0
	return 0
	}
for LIBVARIANT in openmpi-openmp openmpi-thr openmpi; do
			case $LIBVARIANT in
			serial)         LIBPRIORITY=10 ;;
			mt-openmp)      LIBPRIORITY=110 ;;
			mt-thr)         LIBPRIORITY=150 ;;
			mpich-openmp)   LIBPRIORITY=210 ;;
			mpich-thr)      LIBPRIORITY=250 ;;
			mpich)          LIBPRIORITY=290 ;;
			openmpi-openmp) LIBPRIORITY=310 ;;
			openmpi-thr)    LIBPRIORITY=350 ;;
			openmpi)        LIBPRIORITY=390 ;;
				*) echo "unknown library variant \'${LIBVARIANT}': skip" >&2 ;;
			esac
	add_libvariant_dev_alternative $LIBVARIANT $LIBPRIORITY
done
# Automatically added by dh_installdeb
dpkg-maintscript-helper dir_to_symlink /usr/share/doc/libtachyon-openmpi-0-dev /usr/share/doc/libtachyon-dev-common 0.99~b6+dsx-5~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper symlink_to_dir /usr/share/doc/libtachyon-openmpi-0-dev /usr/share/doc/libtachyon-dev-common 0.99~b6+dsx-8~ -- "$@"
# End automatically added section

exit 0