This file is indexed.

preinst is in wine1.6 1:1.8.4ubuntu1.

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

set -e

if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 1:1.8.4ubuntu1~ ; then

  dpkg-maintscript-helper rm_conffile /etc/sysctl.d/wine.sysctl.conf -- "$@"
  dpkg-maintscript-helper rm_conffile /etc/sysctl.d/30-wine.conf -- "$@"
  dpkg-maintscript-helper rm_conffile /etc/sysctl.d/31-wine.conf -- "$@"

  dpkg-maintscript-helper rm_conffile /etc/xdg/menus/applications-merged/wine.menu -- "$@"

  if [ -x "$(which update-binfmts)" ] ; then
    update-binfmts --package wine --remove wine /usr/bin/wine || true
  fi

fi