summaryrefslogtreecommitdiffstats
path: root/abs/core/gperf/gperf.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:28:44 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:28:44 (GMT)
commit73ed013a5832c3582b0af3f6f436c9c2723d5d1c (patch)
tree43f2041fb4b7915587da98faf2b8e06b3d2ebdd6 /abs/core/gperf/gperf.install
parent6bd43445bf5c8570859f946d1ac1850819d68299 (diff)
downloadlinhes_pkgbuild-73ed013a5832c3582b0af3f6f436c9c2723d5d1c.zip
linhes_pkgbuild-73ed013a5832c3582b0af3f6f436c9c2723d5d1c.tar.gz
linhes_pkgbuild-73ed013a5832c3582b0af3f6f436c9c2723d5d1c.tar.bz2
gperf 3.0.4
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
}