From a45aa8f19ea32f45610dafabfc06c8b7d1ed5cfe Mon Sep 17 00:00:00 2001 From: root Date: Sun, 15 May 2011 22:39:31 +0000 Subject: Sun May 15 22:39:30 UTC 2011 --- testing/gcc/gcc-fortran.install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 testing/gcc/gcc-fortran.install (limited to 'testing/gcc/gcc-fortran.install') diff --git a/testing/gcc/gcc-fortran.install b/testing/gcc/gcc-fortran.install new file mode 100644 index 000000000..b15d89a97 --- /dev/null +++ b/testing/gcc/gcc-fortran.install @@ -0,0 +1,16 @@ +infodir=usr/share/info +file="gfortran.info" + +post_install() { + [ -x usr/bin/install-info ] || return 0 + install-info $infodir/$file.gz $infodir/dir 2> /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null +} -- cgit v1.2.3-54-g00ecf