summaryrefslogtreecommitdiffstats
path: root/abs/core/gnutls/gnutls.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gnutls/gnutls.install')
-rw-r--r--abs/core/gnutls/gnutls.install10
1 files changed, 6 insertions, 4 deletions
diff --git a/abs/core/gnutls/gnutls.install b/abs/core/gnutls/gnutls.install
index b9a5bae..e8c8e17 100644
--- a/abs/core/gnutls/gnutls.install
+++ b/abs/core/gnutls/gnutls.install
@@ -1,9 +1,10 @@
-infodir=/usr/share/info
-filelist=(gnutls.info gnutls.info-1 gnutls.info-2 gnutls.info-3)
+infodir=usr/share/info
+filelist=(gnutls.info-1.gz gnutls.info-2.gz gnutls.info-3.gz gnutls.info-4.gz gnutls.info.gz)
post_install() {
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ install-info $infodir/$file $infodir/dir 2> /dev/null
done
}
@@ -12,7 +13,8 @@ post_upgrade() {
}
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
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
done
}