clickhouse: update.sh: Handle missing -lts tags gracefully

This commit is contained in:
Jonathan Davies
2026-03-04 01:44:29 +00:00
parent bfcea2b238
commit 00cf947564
+5 -1
View File
@@ -29,7 +29,11 @@ fi
pname="clickhouse"
if [[ "$fname" == *lts.nix ]]; then
all_tags=$(echo "$all_tags" | grep -- "-lts$")
all_tags=$(echo "$all_tags" | grep -- "-lts$" || true)
if [[ -z "$all_tags" ]]; then
echoerr "Error: no LTS tags found in fetched tags"
exit 1
fi
pname="clickhouse-lts"
fi