get sid version from webpage

This commit is contained in:
Git User
2024-08-05 16:14:31 +08:00
parent 4f96546771
commit 483a9cded2

View File

@@ -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)