update_check.sh: reset regex before each site
Fixes a bug where python projects from PYPI which have a github homepage gets the github regex when checking PYPI.
This commit is contained in:
parent
b7219e9407
commit
451b5d3bcc
|
@ -20,6 +20,7 @@ update_check() {
|
||||||
printf '%s\n' "$update_site"
|
printf '%s\n' "$update_site"
|
||||||
fi |
|
fi |
|
||||||
while IFS= read -r url; do
|
while IFS= read -r url; do
|
||||||
|
rx=
|
||||||
if [ -z "$update_site" ]; then
|
if [ -z "$update_site" ]; then
|
||||||
case "$url" in
|
case "$url" in
|
||||||
*sourceforge.net/sourceforge*)
|
*sourceforge.net/sourceforge*)
|
||||||
|
|
Loading…
Reference in New Issue