diff options
author | root <root@rshg054.dnsready.net> | 2012-08-22 00:02:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-22 00:02:51 +0000 |
commit | 297a042ac9a7bbd2b18a9551f5fa4fe43faf53b2 (patch) | |
tree | 75290bf7727659568bf50c0446db690d4888d908 /testing/grep/grep.install | |
parent | a3669c04838b48b6891b2ffc4b296fa515f8174f (diff) |
Wed Aug 22 00:02:51 UTC 2012
Diffstat (limited to 'testing/grep/grep.install')
-rw-r--r-- | testing/grep/grep.install | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/testing/grep/grep.install b/testing/grep/grep.install index 7cd31301f..885238ac3 100644 --- a/testing/grep/grep.install +++ b/testing/grep/grep.install @@ -1,11 +1,9 @@ infodir=usr/share/info -filelist=(grep.info) +file=grep.info post_install() { [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done + install-info $infodir/$file.gz $infodir/dir 2> /dev/null } post_upgrade() { @@ -14,8 +12,6 @@ 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 - done + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null } |