diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-04-26 17:24:49 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-04-26 17:24:49 (GMT) |
commit | 99eb937d99d752482ab3fb730fa04ed814dc5eb8 (patch) | |
tree | d712edb8f00c8a0dfe01dfdbb071baf669c5aa9d /abs/core/nasm/nasm.install | |
parent | 53e85b804cf8ff2c59bbebe475552f2a8002ab3a (diff) | |
download | linhes_pkgbuild-99eb937d99d752482ab3fb730fa04ed814dc5eb8.zip linhes_pkgbuild-99eb937d99d752482ab3fb730fa04ed814dc5eb8.tar.gz linhes_pkgbuild-99eb937d99d752482ab3fb730fa04ed814dc5eb8.tar.bz2 |
nasm: update to 2.11.08
Diffstat (limited to 'abs/core/nasm/nasm.install')
-rw-r--r-- | abs/core/nasm/nasm.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core/nasm/nasm.install b/abs/core/nasm/nasm.install new file mode 100644 index 0000000..e4baa98 --- /dev/null +++ b/abs/core/nasm/nasm.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(nasm.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 +} |