update-check: allow to disable checking version directories

This commit is contained in:
Piotr Wójcik 2019-04-29 10:27:34 +02:00 committed by Enno Boland
parent 906f339d6a
commit 7ae9417947

View file

@ -33,6 +33,9 @@ update_check() {
while IFS= read -r url; do
# default case: don't rewrite url
printf '%s\n' "$url"
if [ "$single_directory" ]; then
continue
fi
rx=
urlpfx="${url}"
urlsfx=