bashisms: remove arrays

This commit is contained in:
Andrew Chadwick
2016-06-01 15:44:36 +01:00
parent e1580abd55
commit b133eb320a
4 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
pkgname=gnupg
pkgver=1.4.20
pkgrel=1
pkgrel=2
pkgdesc='Complete and free implementation of the OpenPGP standard'
url='https://gnupg.org/'
license=('GPL')

View File

@@ -1,5 +1,5 @@
info_dir=usr/share/info
info_files=(gnupg1.info)
info_files="gnupg1.info"
post_install() {
[ -x usr/bin/install-info ] || return 0
@@ -18,7 +18,7 @@ post_upgrade() {
pre_remove() {
[ -x usr/bin/install-info ] || return 0
for f in ${info_files[@]}; do
for f in $info_files; do
usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
done
}

View File

@@ -2,7 +2,7 @@
pkgname=pinentry
pkgver=0.9.7
pkgrel=1
pkgrel=2
pkgdesc='A collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol'
url='https://gnupg.org/related_software/pinentry/'
license=('GPL')

View File

@@ -1,5 +1,5 @@
info_dir=usr/share/info
info_files=(pinentry.info)
info_files="pinentry.info"
post_install() {
[ -x usr/bin/install-info ] || return 0
@@ -14,7 +14,7 @@ post_upgrade() {
pre_remove() {
[ -x usr/bin/install-info ] || return 0
for f in ${info_files[@]}; do
for f in $info_files; do
usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
done
}