Unverified Commit 00cf9475 authored by Jonathan Davies's avatar Jonathan Davies
Browse files

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

parent bfcea2b2
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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