POSTIN
/bin/sh
( cd /usr/share/doc/ghc/html/libraries && [ -x "./gen_contents_index" ] && ./gen_contents_index ) || :
POSTUN
/bin/sh
if [ "$1" -eq 0 ] ; then ( cd /usr/share/doc/ghc/html/libraries && [ -x "./gen_contents_index" ] && ./gen_contents_index ) || : fi