This file is indexed.

preinst is in puredata-core 0.48.1-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
14
#! /bin/sh

set -e



# older versions of puredata-core provided theses as directories,
# whereas nowadays they are symlinks to /usr/share/puredata/doc/
# so we delete the directories here to smooth upgrades
for d in 5.reference 7.stuff
do
  dir=/usr/lib/puredata/doc/$d
  test -d "${dir}" && rm -r "${dir}" || true
done