postinst is in libgbm1-lts-wily 3:10.
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
dir=/usr/lib/x86_64-linux-gnu
dpkg-divert --remove --package $DPKG_MAINTSCRIPT_PACKAGE --rename \
--divert "${dir}/old.libgbm.so.1.0.0" "${dir}/libgbm.so.1.0.0"
dpkg-divert --remove --package $DPKG_MAINTSCRIPT_PACKAGE --rename \
--divert "${dir}/old.libgbm.so.1" "${dir}/libgbm.so.1"
dpkg-divert --remove --package $DPKG_MAINTSCRIPT_PACKAGE --rename \
--divert "${dir}/gbm/old.gbm_gallium_drm.so" "${dir}/gbm/gbm_gallium_drm.so"
exit 0
|