mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/boypt/openssh-deb.git
synced 2026-09-20 08:03:46 +08:00
get sid version from webpage
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user