This commit is contained in:
Daniel Langbein 2021-05-24 15:37:46 +02:00
parent 08e587a2c0
commit 66cef9ce46
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
_pkgname=repo _pkgname=repo
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.2.5 pkgver=0.2.6
pkgrel=1 pkgrel=1
pkgdesc="Bash script to manage remote Arch Linux repository" pkgdesc="Bash script to manage remote Arch Linux repository"
arch=('any') arch=('any')

View File

@ -45,12 +45,12 @@ function get_vcs_packages(){
# https://github.com/AladW/aurutils/pull/283/files # https://github.com/AladW/aurutils/pull/283/files
readonly AURVCS='.*-(bzr|git|hg|svn)$' readonly AURVCS='.*-(bzr|git|hg|svn)$'
for PKG_VER in "${PKG_VERS[@]}"; do while IFS= read -r PKG_VER; do
PKGNAME=$(first_word "${PKG_VER}") || return $? PKGNAME=$(first_word "${PKG_VER}") || return $?
if echo "${PKGNAME}" | grep -E "$AURVCS"; then if echo "${PKGNAME}" | grep -E "$AURVCS"; then
VCS_PKGS+=("${PKGNAME}") VCS_PKGS+=("${PKGNAME}")
fi fi
done done <<< "${PKG_VERS}"
} }
# #