summaryrefslogtreecommitdiffstats
path: root/abs/core/gzip/gzip.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gzip/gzip.install')
-rw-r--r--abs/core/gzip/gzip.install16
1 files changed, 5 insertions, 11 deletions
diff --git a/abs/core/gzip/gzip.install b/abs/core/gzip/gzip.install
index f25897b..43218d9 100644
--- a/abs/core/gzip/gzip.install
+++ b/abs/core/gzip/gzip.install
@@ -1,11 +1,8 @@
-infodir=/usr/share/info
-filelist=(gzip.info)
+infodir=usr/share/info
post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- usr/bin/install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
+ [ -x usr/bin/install-info ] || return 0
+ usr/bin/install-info $infodir/gzip.info.gz $infodir/dir 2> /dev/null
}
post_upgrade() {
@@ -13,9 +10,6 @@ post_upgrade() {
}
pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- usr/bin/install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
+ [ -x usr/bin/install-info ] || return 0
+ usr/bin/install-info --delete $infodir/gzip.info.gz $infodir/dir 2> /dev/null
}
-