preinst is in puredata-doc 0.46.7-3.
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
for d in 1.manual 2.control.examples 3.audio.examples 4.data.structures 6.externs sound
do
if [ -d /usr/lib/puredata/doc/$d ]
then
rm -r /usr/lib/puredata/doc/$d
fi
done
|