postinst is in libmyodbc 5.1.10-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 14 15 | #!/bin/sh
set -e
# Source debconf library.
. /usr/share/debconf/confmodule
db_version 2.0
# Always add in the postinst, always delete in the prerm -- this way,
# we'll always have a good reference count in odbcinst.ini.
db_get libmyodbc/addtoodbc || true
if [ "$RET" = "true" ]; then
odbcinst -i -d -f /usr/share/libmyodbc/odbcinst.ini 1>&2
fi
|