diff options
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 +} |