This file is indexed.

preinst is in xfce4-utils 4.8.3-1ubuntu2.

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

if [ "$1" = "install" -o "$1" = "upgrade" ]; then
	# Move the old config files before dpkg checks them.
	if [ -d /etc/X11/xdg/xfce4 ]; then
		mkdir -p /etc/xdg/xfce4 || true
		mv /etc/X11/xdg/xfce4/* /etc/xdg/xfce4 || true
		rmdir /etc/X11/xdg/xfce4 || true
	fi

fi

# Remove symlinks for el which appeared in 4.8.2-1
case "$1" in
install|upgrade)
    if dpkg --compare-versions "$2" lt "4.8.2-1"; then
      [ -h /usr/share/doc/xfce4-utils/html/el/images ] && rm /usr/share/doc/xfce4-utils/html/el/images || true
    fi
esac

# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/xdg/autostart/xfconf-migration-4.6.desktop 4.8.1-1 -- "$@"
# End automatically added section


exit 0