mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/boypt/openssh-deb.git
synced 2026-09-20 08:03:46 +08:00
fix: src check
This commit is contained in:
@@ -36,7 +36,7 @@ SOURCES=(
|
||||
openssh_${OPENSSHVER}.orig.tar.gz \
|
||||
openssh_${OPENSSHVER}.orig.tar.gz.asc \
|
||||
)
|
||||
[[ $STATIC_OPENSSL -eq 1 ]] && SOURCES+="$OPENSSLSRC"
|
||||
[[ $STATIC_OPENSSL -eq 1 ]] && SOURCES+=("$OPENSSLSRC")
|
||||
|
||||
CHECKEXISTS() {
|
||||
if [[ ! -f $__dir/downloads/$1 ]];then
|
||||
|
||||
@@ -5,6 +5,6 @@ OPENSSLSRC=openssl-${OPENSSLVER}.tar.gz
|
||||
DEBMIRROR=http://deb.debian.org/debian/
|
||||
OPENSSH_SIDPKG=
|
||||
[[ -z $OPENSSH_SIDPKG ]] && \
|
||||
OPENSSH_SIDPKG=$(wget --no-check-certificate -O- https://packages.debian.org/sid/openssh-server | sed -n '/vcurrent/s/ *<[^>]*> *//gp' | head -n1 | cut -d: -f2)
|
||||
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