check-updates.sh: handle comments in package list
This commit is contained in:
parent
735467255b
commit
3baf32fb0e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user