preinst is in kdm-gdmcompat 0.13-2.
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 | #!/bin/sh
# kdm-gdmcompat package pre-installation script
#
# Copyright (C) 2007, 2009 Fabian Knittel
# Licensed under the GNU General Public License; either version 2 of the
# license, or (at your option) any later version. See the file
# /usr/share/common-licenses/GPL-2 or <http://www.gnu.org/licences/gpl-2.0.txt>.
set -e
do_divert()
{
dpkg-divert --rename --package kdm-gdmcompat \
--divert $1.gdm-orig --add $1
}
do_divert /usr/bin/gdmflexiserver
do_divert /usr/share/man/man1/gdmflexiserver.1.gz
|