preinst is in dell-recovery-bootloader 1.48.
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 | #!/bin/sh
set -e
LINK=/usr/share/dell/grub/patches/oneiric
case "$1" in
upgrade)
if dpkg --compare-versions "$2" le "1.19" && [ -L $LINK ]; then
rm -f $LINK
fi
esac
|