diff options
author | root <root@rshg054.dnsready.net> | 2012-05-09 00:01:39 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-09 00:01:39 +0000 |
commit | 065cf8163398f8da177e9f09f5a5e97a063ca5c5 (patch) | |
tree | be487868f7c0b73ad63b246a443a7157f2074f1f /multilib-testing/gcc-multilib/gcc-fortran.install | |
parent | 6298f4701b6053c45ef593aec10d06614d39a90d (diff) |
Wed May 9 00:01:39 UTC 2012
Diffstat (limited to 'multilib-testing/gcc-multilib/gcc-fortran.install')
-rw-r--r-- | multilib-testing/gcc-multilib/gcc-fortran.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/multilib-testing/gcc-multilib/gcc-fortran.install b/multilib-testing/gcc-multilib/gcc-fortran.install new file mode 100644 index 000000000..b15d89a97 --- /dev/null +++ b/multilib-testing/gcc-multilib/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 +} |