postinst is in polygen-data 1.0.6.ds2-13build1.
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
#set +C # turn off noclobber
if [ ! -e /usr/share/polygen/ita/polygen.grm.o ]
then
echo -n "Generating grammar objects..."
# Set the right umask
umask 0022
find /usr/share/polygen/ -type f -iname '*.grm' ! -iname '*.grm.o' -exec polygen "{}" \; > /dev/null
echo "done."
fi
|