This file is indexed.

preinst is in dwww 1.13.4.

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
#!/bin/sh
# vim:ft=sh:cindent:ts=4:sts=4:et:sw
#
# Debian preinst script for dwww.

set -e

# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/dwww/apache.conf /etc/apache2/conf-available/dwww.conf 1.12.0\~ -- "$@"
dpkg-maintscript-helper rm_conffile /etc/iceweasel/searchplugins/common/dwww.xml 1.13.2\~ -- "$@"
# End automatically added section


oldf=/etc/dwww/apache.conf
newd=/etc/apache2/conf-available
newf="$newd/dwww.conf"

# Work-around for dpkg bug #711598
if [ -f "$oldf" ] && [ ! -e "$newf" ] &&  [ "$1" = "install" -o "$1" = "upgrade" ] &&
   dpkg --compare-versions "$2" le-nl "1.12.0~"; then
   [ -d "$newd" ] || mkdir -p "$newd"
   mv "$oldf" "$newf"
fi