diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-03-15 06:53:44 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-03-15 06:53:44 -0300 |
commit | 2b813b90d639d9072233cd039f3d9b92d4070cfb (patch) | |
tree | 934056b5acfeedadd1db7bfdd44caeb3925b0fa9 /cross/cross-gcc/gcc.install | |
parent | 93c5729a5cbb9922fdee2d6d9db8c962b081b653 (diff) | |
download | abslibre-2b813b90d639d9072233cd039f3d9b92d4070cfb.tar.gz abslibre-2b813b90d639d9072233cd039f3d9b92d4070cfb.tar.bz2 abslibre-2b813b90d639d9072233cd039f3d9b92d4070cfb.zip |
add [cross-gcc] to [cross] repo
Diffstat (limited to 'cross/cross-gcc/gcc.install')
-rw-r--r-- | cross/cross-gcc/gcc.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cross/cross-gcc/gcc.install b/cross/cross-gcc/gcc.install new file mode 100644 index 000000000..3407a5e1f --- /dev/null +++ b/cross/cross-gcc/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 +} |