diff --git a/pkg/de-p1st-repo/PKGBUILD b/pkg/de-p1st-repo/PKGBUILD index f187303..4beca04 100644 --- a/pkg/de-p1st-repo/PKGBUILD +++ b/pkg/de-p1st-repo/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=repo _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.2.7 +pkgver=0.2.8 pkgrel=1 pkgdesc="Bash script to manage remote Arch Linux repository" arch=('any') diff --git a/pkg/de-p1st-repo/arch-repo-vercmp.sh b/pkg/de-p1st-repo/arch-repo-vercmp.sh index 631f9b4..4f7fb42 100644 --- a/pkg/de-p1st-repo/arch-repo-vercmp.sh +++ b/pkg/de-p1st-repo/arch-repo-vercmp.sh @@ -20,9 +20,7 @@ function main(){ if [ "${#AUR_UPDATES[@]}" -gt "0" ]; then echo "Repository ${REMOTE_DB_NAME} contains packages with available AUR updates:" - for AUR_PKG in "${AUR_UPDATES[@]}"; do - echo " ${AUR_PKG}" - done + printf " AUR_UPDATES=(%s)\n" "${AUR_UPDATES[*]}" else echo "There are no pending AUR updates in repository ${REMOTE_DB_NAME}." fi @@ -31,9 +29,7 @@ function main(){ if [ "${#VCS_PKGS[@]}" -gt "0" ]; then echo "" echo "Note: Some VCS packages were found which are possibly outdated:" - for VCS_PKG in "${VCS_PKGS[@]}"; do - echo " ${VCS_PKG}" - done + printf " VCS_PKG=(%s)\n" "${VCS_PKGS[*]}" fi }