mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
arch-reop-vercmp: improve output
This commit is contained in:
parent
f5458fc190
commit
855bfc0571
@ -2,7 +2,7 @@
|
|||||||
_pkgname=repo
|
_pkgname=repo
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.2.8
|
pkgver=0.2.9
|
||||||
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')
|
||||||
|
@ -20,7 +20,9 @@ function main(){
|
|||||||
|
|
||||||
if [ "${#AUR_UPDATES[@]}" -gt "0" ]; then
|
if [ "${#AUR_UPDATES[@]}" -gt "0" ]; then
|
||||||
echo "Repository ${REMOTE_DB_NAME} contains packages with available AUR updates:"
|
echo "Repository ${REMOTE_DB_NAME} contains packages with available AUR updates:"
|
||||||
printf " AUR_UPDATES=(%s)\n" "${AUR_UPDATES[*]}"
|
for AUR_PKG in "${AUR_UPDATES[@]}"; do
|
||||||
|
echo " ${AUR_PKG}"
|
||||||
|
done
|
||||||
else
|
else
|
||||||
echo "There are no pending AUR updates in repository ${REMOTE_DB_NAME}."
|
echo "There are no pending AUR updates in repository ${REMOTE_DB_NAME}."
|
||||||
fi
|
fi
|
||||||
@ -29,7 +31,7 @@ function main(){
|
|||||||
if [ "${#VCS_PKGS[@]}" -gt "0" ]; then
|
if [ "${#VCS_PKGS[@]}" -gt "0" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "Note: Some VCS packages were found which are possibly outdated:"
|
echo "Note: Some VCS packages were found which are possibly outdated:"
|
||||||
printf " VCS_PKG=(%s)\n" "${VCS_PKGS[*]}"
|
printf "VCS_PKG=(%s)\n" "${VCS_PKGS[*]}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user