mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/boypt/openssh-deb.git
synced 2026-09-20 08:03:46 +08:00
use http to deb
This commit is contained in:
@@ -5,7 +5,7 @@ OPENSSLSRC=openssl-${OPENSSLVER}.tar.gz
|
||||
DEBMIRROR=http://deb.debian.org/debian/
|
||||
OPENSSH_SIDPKG=
|
||||
[[ -z $OPENSSH_SIDPKG ]] && \
|
||||
OPENSSH_SIDPKG=$(wget --no-check-certificate -qO- https://deb.debian.org/debian/pool/main/o/openssh/ | grep -oP 'openssh_\K[0-9]+\.[0-9]+p[0-9]+-[0-9]+(?:~bpo[0-9]+(?:\+[0-9]+)?)?' | sort -V | tail -n 1)
|
||||
OPENSSH_SIDPKG=$(wget --no-check-certificate -qO- http://deb.debian.org/debian/pool/main/o/openssh/ | grep -oP 'openssh_\K[0-9]+\.[0-9]+p[0-9]+-[0-9]+(?:~bpo[0-9]+(?:\+[0-9]+)?)?' | sort -V | tail -n 1)
|
||||
# OPENSSH_SIDPKG=$(wget --no-check-certificate -qO- https://packages.debian.org/sid/openssh-server | sed -n '/vcurrent/s/ *<[^>]*> *//gp' | head -n1 | cut -d: -f2)
|
||||
|
||||
OPENSSHVER=$(echo $OPENSSH_SIDPKG|cut -d- -f1)
|
||||
|
||||
Reference in New Issue
Block a user