check-updates.sh: handle comments in package list

This commit is contained in:
Leonid Pliushch 2020-12-17 15:12:24 +02:00
parent 735467255b
commit 3baf32fb0e
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with 18 additions and 1 deletions

View File

@ -29,5 +29,5 @@ if [ -f "${BASEDIR}/github-projects.txt" ]; then
if [ "$(echo -e "${termux_version}\n${latest_version}" | sort -V | head -n 1)" != "$latest_version" ] ;then
echo "Package '${package}' needs update to '${latest_version}'."
fi
done < "${BASEDIR}/github-projects.txt"
done < <(grep -P '^[a-z0-9]' "${BASEDIR}/github-projects.txt")
fi

View File

@ -1,3 +1,20 @@
##
## A list of package upstreams located on Github which should be
## checked for updates.
##
## Each entry has a following format:
##
## {package name}|{project path on Github}
##
## Example: acr|radare/acr
##
## Lines starting with "#" are comments.
##
## Packages which are known to be problematic, big or just should
## never be updated must be commented out with appropriate description
## added.
##
acr|radare/acr
antibody|getantibody/antibody
atomicparsley|wez/atomicparsley