diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:31:52 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:31:52 (GMT) |
commit | 0137c0d4e4f8d7a381dd2b7ba1778af61a22a805 (patch) | |
tree | f0ed3ed621dfc2a142c677e2c4afedb368da9f6f /abs/core/gzip/gzip.install | |
parent | 78e6e9afbf9ba87b45032042ee1c9fe0ee426672 (diff) | |
download | linhes_pkgbuild-0137c0d4e4f8d7a381dd2b7ba1778af61a22a805.zip linhes_pkgbuild-0137c0d4e4f8d7a381dd2b7ba1778af61a22a805.tar.gz linhes_pkgbuild-0137c0d4e4f8d7a381dd2b7ba1778af61a22a805.tar.bz2 |
gzip 1.5
Diffstat (limited to 'abs/core/gzip/gzip.install')
-rw-r--r-- | abs/core/gzip/gzip.install | 16 |
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 } - |