diff options
author | root <root@rshg054.dnsready.net> | 2011-12-03 23:14:41 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-03 23:14:41 +0000 |
commit | 851376cd7720e1f9b35e0a7c26bfd66399f0c4d3 (patch) | |
tree | f8579d1c934aa5c28308372bedc321628555a424 /testing/binutils/binutils.install | |
parent | 8eed59114cbcf729b65f87d3f73530f6c8363d20 (diff) |
Sat Dec 3 23:14:41 UTC 2011
Diffstat (limited to 'testing/binutils/binutils.install')
-rw-r--r-- | testing/binutils/binutils.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/binutils/binutils.install b/testing/binutils/binutils.install new file mode 100644 index 000000000..8bf9f3a47 --- /dev/null +++ b/testing/binutils/binutils.install @@ -0,0 +1,17 @@ +infodir=usr/share/info +filelist=(as.info bfd.info binutils.info configure.info gprof.info ld.info standards.info) + +post_upgrade() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + |