preinst is in gnucash-docs 2.6.15-1.
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 | #!/bin/sh
set -e
# Handle symlink to directory conversion (happened in 2.6.0-1)
HELPDIR=/usr/share/gnome/help/
if [ -L $HELPDIR/gnucash-guide ]; then
rm $HELPDIR/gnucash-guide
fi
if [ -L $HELPDIR/gnucash-help ]; then
rm $HELPDIR/gnucash-help
fi
|