postinst 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 | #!/bin/sh -e
PACKAGE=swi-prolog-odbc
# Update library index
rm -f /usr/lib/swi-prolog/library/INDEX.pl
echo "make_library_index('/usr/lib/swi-prolog/library/')." | swipl >/dev/null 2>&1
|