diff options
author | root <root@rshg047.dnsready.net> | 2011-07-09 23:10:17 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-09 23:10:17 +0000 |
commit | d1e588afc2779754c0abd1122ecf4f8e3c863d7a (patch) | |
tree | b9373ca2187d6796b8045bae62418621abf01ff4 /testing/gcc/gcc-fortran.install | |
parent | d006db78a1ce530e9df8a65f87bf39e8d6cc88e5 (diff) |
Sat Jul 9 23:10:17 UTC 2011
Diffstat (limited to 'testing/gcc/gcc-fortran.install')
-rw-r--r-- | testing/gcc/gcc-fortran.install | 16 |
1 files changed, 16 insertions, 0 deletions
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 +} |