This file is indexed.

postrm is in swi-prolog-odbc 5.10.4-3ubuntu1.

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 -e

PACKAGE=swi-prolog-odbc

# Update library index if SWI prolog is still installed
if [ -x /usr/bin/swipl ]
then
    rm -f /usr/lib/swi-prolog/library/INDEX.pl
    echo "make_library_index('/usr/lib/swi-prolog/library/')." | swipl >/dev/null 2>&1
fi