summaryrefslogtreecommitdiffstats
path: root/abs/core/gperf/gperf.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gperf/gperf.install')
-rw-r--r--abs/core/gperf/gperf.install12
1 files changed, 4 insertions, 8 deletions
diff --git a/abs/core/gperf/gperf.install b/abs/core/gperf/gperf.install
index 1c20e2f..90ac2a8 100644
--- a/abs/core/gperf/gperf.install
+++ b/abs/core/gperf/gperf.install
@@ -1,11 +1,9 @@
-infodir=/usr/share/info
-filelist=(gperf.info.gz)
+infodir=usr/share/info
+file=gperf.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
+ install-info $infodir/$file $infodir/dir 2> /dev/null
}
post_upgrade() {
@@ -14,7 +12,5 @@ post_upgrade() {
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
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
}