From 997c6b992822c4304685fdbf501354ba3df9e695 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Mon, 10 Aug 2015 14:14:03 +0000 Subject: libunistring: commit .install --- abs/core/libunistring/libunistring.install | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 abs/core/libunistring/libunistring.install diff --git a/abs/core/libunistring/libunistring.install b/abs/core/libunistring/libunistring.install new file mode 100644 index 0000000..58dd2ef --- /dev/null +++ b/abs/core/libunistring/libunistring.install @@ -0,0 +1,22 @@ +infodir=usr/share/info +filelist=(libunistring.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 +} + +# vim:set ts=2 sw=2 et: -- cgit v0.12