This file is indexed.

preinst is in qtdeclarative5-qtmultimedia-touch-plugin 5.1.1+git20131205+8230c02-0ubuntu4.

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
pkg=qtdeclarative5-qtmultimedia-touch-plugin
divert_dir="/var/lib/$pkg-diverted"

if [ install = "$1" ]; then
  if [ ! -d "$divert_dir" ]; then
    mkdir -p "$divert_dir"
  fi

  for file in qmldir plugins.qmltypes Video.qml libdeclarative_multimedia.so;do
  dpkg-divert --package "$pkg" --add --rename \
    --divert \
    "$divert_dir"/$file.diverted-$pkg \
    /usr/lib/x86_64-linux-gnu/qt5/qml/QtMultimedia/$file
  done
fi