This file is indexed.

preinst is in libgstreamer1.0-dev 1.14.0-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
#!/bin/sh
set -e

add_diversion() {
  dpkg-divert --package libgstreamer1.0-dev --add --rename \
    --divert "$1-gst0.10" "$1"
}

if [ "$1" = "upgrade" ] || [ "$1" = "install" ]; then
  add_diversion /usr/bin/dh_gstscancodecs
  add_diversion /usr/share/man/man1/dh_gstscancodecs.1.gz
fi



exit 0