diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-09 20:21:51 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-09 20:21:51 -0300 |
commit | 7823c9009a845174746fd0da09af46a138481851 (patch) | |
tree | 0dfc6283d25ec646a14b22f1fe6391033df615c7 /libre/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install | |
parent | 10b073d2a0221de89fc39409acb06758de3a3118 (diff) | |
parent | ee9c1a601c6ce156c295e4a4608ad50535192954 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'libre/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install')
-rw-r--r-- | libre/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libre/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install b/libre/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install new file mode 100644 index 000000000..3407a5e1f --- /dev/null +++ b/libre/xtensa-unknown-elf-gcc/xtensa-unknown-elf-gcc.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(cpp.info cppinternals.info gcc.info gccinstall.info gccint.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +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 +} |