summaryrefslogtreecommitdiff
path: root/debian/gfortran.postinst.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/gfortran.postinst.in')
-rw-r--r--debian/gfortran.postinst.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/gfortran.postinst.in b/debian/gfortran.postinst.in
new file mode 100644
index 0000000..c03d987
--- /dev/null
+++ b/debian/gfortran.postinst.in
@@ -0,0 +1,11 @@
+#! /bin/sh -e
+
+update-alternatives --install /usr/bin/f95 f95 /usr/bin/gfortran 20 \
+ @GFDL@--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 \
+ @GFDL@--slave /usr/share/man/man1/f77.1.gz f77.1.gz /usr/share/man/man1/gfortran.1.gz
+
+#DEBHELPER#
+
+exit 0