From b33e4ac7204a24c89cde75465fd8e9305193177c Mon Sep 17 00:00:00 2001 From: Kuoi Date: Wed, 11 Oct 2023 18:59:20 +0800 Subject: [PATCH] bayestraits: fix regex --- BioArchLinux/bayestraits/lilac.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BioArchLinux/bayestraits/lilac.yaml b/BioArchLinux/bayestraits/lilac.yaml index c1377c9e99..62b380b404 100644 --- a/BioArchLinux/bayestraits/lilac.yaml +++ b/BioArchLinux/bayestraits/lilac.yaml @@ -8,6 +8,5 @@ pre_build_script: | post_build_script: | git_pkgbuild_commit() update_on: - - source: regex - url: "http://www.evolution.reading.ac.uk/BayesTraits.html" - regex: 'BayesTraits V(\d+[.\d+]*) - Source Code' + - source: cmd + cmd: curl -sS http://www.evolution.reading.ac.uk/BayesTraits.html | head -n 1 | sed "s@V@ @g;s@/@ @g" | awk '{print $7}'