postinst is in libvibrant6-dev 6.1.20170106-2.
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 | #!/bin/sh
set -e
# Formerly used to support libvibrant6-gl-dev's shenanigans. (Don't ask.)
olddir=/usr/lib/libvibrant-nogl
if [ "$1" = configure ] && [ -d $olddir ]; then
echo "Cleaning up obsolete directory $olddir ..."
rm -f $olddir/libncbicn3d.so.6 $olddir/libvibrant.so.6
rmdir --ignore-fail-on-non-empty $olddir
fi
|