preinst is in uswsusp 1.0+20120915-4ubuntu1.
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 | #!/bin/sh
set -e
# Rodolfo Garc�a Pe�as (kix) <kix@kix.es>:
# Remove the old kill-uswsusp-image file if exists.
# This was added in 0.6 version and is hold for backward
# compatibility. See bug #410860
KILLFILE=kill-uswsusp-image
if [ -f /etc/init.d/$KILLFILE ]; then
rm -f /etc/init.d/$KILLFILE
fi
update-rc.d $KILLFILE remove 1> /dev/null 2>&1
|