postinst is in gfortran 4:5.3.1-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 -e
update-alternatives --install /usr/bin/f95 f95 /usr/bin/gfortran 20 \
--slave /usr/share/man/man1/f95.1.gz f95.1.gz /usr/share/man/man1/gfortran.1.gz
update-alternatives --install /usr/bin/f77 f77 /usr/bin/gfortran 20 \
--slave /usr/share/man/man1/f77.1.gz f77.1.gz /usr/share/man/man1/gfortran.1.gz
exit 0
|