core/libffi/libffi.install
Jan Mette d3c2da09fa
2010-03-21 17:35:58 +00:00

19 lines
331 B
Plaintext

infodir=/usr/share/info
filelist=(libffi.info.gz)
post_install() {
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
}