diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-07-02 15:52:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-07-02 15:52:33 -0300 |
commit | 0ca20230bdd33f8e07d2da28bec74c5e685650e9 (patch) | |
tree | 6f09c1056210679c3dfe0c6534ffd6b2d0f7bf68 /staging/gcc/gcc-go.install | |
parent | ca8ab20a665411e312578954c85f1bd3913fc726 (diff) | |
parent | 9d209f25af63a35774000e87df4e188057f71b2f (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-staging/mythtv/PKGBUILD
community-staging/mythtv/mythbackend.rc
community-staging/mythtv/mythtv.install
community/sigil/PKGBUILD
extra/pixman/PKGBUILD
staging/vlc/PKGBUILD
Diffstat (limited to 'staging/gcc/gcc-go.install')
-rw-r--r-- | staging/gcc/gcc-go.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/staging/gcc/gcc-go.install b/staging/gcc/gcc-go.install new file mode 100644 index 000000000..7dc50dee5 --- /dev/null +++ b/staging/gcc/gcc-go.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(gccgo.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 +} |