diff options
author | David P <megver83@openmailbox.org> | 2017-10-31 21:01:05 -0300 |
---|---|---|
committer | David P <megver83@openmailbox.org> | 2017-10-31 21:01:05 -0300 |
commit | 8cb3de1669549474203564e712d3aa1e687b79f9 (patch) | |
tree | 421c499c7406705d8327752c81ecd7f6966ebad2 /pcr/gforth/gforth.install | |
parent | 7753a2f31e05b6ae2ed8c2fd47a93173944519ea (diff) | |
download | abslibre-8cb3de1669549474203564e712d3aa1e687b79f9.tar.gz abslibre-8cb3de1669549474203564e712d3aa1e687b79f9.tar.bz2 abslibre-8cb3de1669549474203564e712d3aa1e687b79f9.zip |
Fix pcr/gforth
What a crappy PKGBUILD it was
Diffstat (limited to 'pcr/gforth/gforth.install')
-rw-r--r-- | pcr/gforth/gforth.install | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/pcr/gforth/gforth.install b/pcr/gforth/gforth.install index 856966e20..6dd89441a 100644 --- a/pcr/gforth/gforth.install +++ b/pcr/gforth/gforth.install @@ -1,5 +1,18 @@ +infodir=/usr/share/info +filelist=(gforth.info vmgen.info) + post_install() { - echo "Running post-install libtool..." - libtool --finish /usr/lib/gforth/0.7.3/libcc-named/ - echo "Done!" -}
\ No newline at end of file + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} |