From a355e777bda6b5d14cf9bec2f000bbc5733c0155 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 14 Aug 2025 17:52:03 +0100 Subject: [PATCH] taginfo: only install sqlite3-pcre if still available --- cookbooks/taginfo/recipes/default.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cookbooks/taginfo/recipes/default.rb b/cookbooks/taginfo/recipes/default.rb index ef3913c60..d1f1387c1 100644 --- a/cookbooks/taginfo/recipes/default.rb +++ b/cookbooks/taginfo/recipes/default.rb @@ -46,13 +46,17 @@ package %w[ package %w[ sqlite3 - sqlite3-pcre + libsqlite3-dev osmium-tool pyosmium curl pbzip2 ] +if (platform?("debian") && node[:lsb][:release].to_f < 13) || (platform?("ubuntu") && node[:lsb][:release].to_f < 24.04) + package "sqlite3-pcre" # https://github.com/taginfo/taginfo/issues/436 +end + apache_module "cache" apache_module "cache_disk" apache_module "headers" -- 2.39.5