From 483a9cded22049034fdafc2f1b146d018ad7ae5f Mon Sep 17 00:00:00 2001 From: Git User Date: Mon, 5 Aug 2024 16:14:31 +0800 Subject: [PATCH] get sid version from webpage --- version.env | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/version.env b/version.env index ec91d71..2785389 100644 --- a/version.env +++ b/version.env @@ -1,5 +1,8 @@ +OPENSSH_SIDPKG= OPENSSLMIR=https://www.openssl.org/source/ OPENSSLSRC=openssl-3.0.14.tar.gz DEBMIRROR=http://ftp.us.debian.org/debian/ -OPENSSH_SIDPKG=9.8p1-2 OPENSSHVER=$(echo $OPENSSH_SIDPKG|cut -d- -f1) +[[ -z $OPENSSH_SIDPKG ]] && \ + OPENSSH_SIDPKG=$(curl https://packages.debian.org/sid/openssh-server | sed -n '/vcurrent/s/ *<[^>]*> *//gp' | head -n1 | cut -d: -f2) +