preinst is in ubuntu-mate-live-settings 18.04.17.
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 | #!/bin/sh
if [ "$1" = install -o "$1" = upgrade ]; then
dpkg-divert --add --rename --package ubuntu-mate-live-settings --divert /usr/share/ubiquity/pixmaps/ubuntu_installed.png.distrib /usr/share/ubiquity/pixmaps/ubuntu_installed.png
fi
|