diff options
author | root <root@rshg054.dnsready.net> | 2012-01-04 23:14:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-04 23:14:55 +0000 |
commit | 85828cc2c2c3ef5c0b9b03388b9323d3d163b389 (patch) | |
tree | d2f2125c0ff38894f9c3ffe29164f5f763a762f0 /testing/inetutils/inetutils.install | |
parent | d1d68784dc66793601c239fa64cc0e02ebd9444e (diff) |
Wed Jan 4 23:14:55 UTC 2012
Diffstat (limited to 'testing/inetutils/inetutils.install')
-rw-r--r-- | testing/inetutils/inetutils.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/inetutils/inetutils.install b/testing/inetutils/inetutils.install new file mode 100644 index 000000000..b338fa498 --- /dev/null +++ b/testing/inetutils/inetutils.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(inetutils.info.gz) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $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 $infodir/dir 2> /dev/null + done +} |