preinst is in welcome2l 3.04-26build1.
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 | #!/bin/sh
# $Id: preinst 71 2011-02-03 20:05:16Z robert $
set -e
W2L="welcome2l"
if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" le-nl "3.04-24~"; then
# remove unneeded stop links
rm -f /etc/rc[016].d/K??welcome2l
fi
|