postinst is in libfm-dev 1.2.4-1ubuntu1.
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
# remove empty directory so symlink can be installed there
test -d /usr/include/libfm && test ! -h /usr/include/libfm && rmdir /usr/include/libfm
# if no symlink created then create it
test -h /usr/include/libfm || ln -s libfm-1.0 /usr/include/libfm
exit 0
|