update all scripts
This commit is contained in:
1 parent
c9bb397d65
commit
d065fa6e04
26 files changed
+218
-33
No files matched your search
@@ -14,9 +14,17 @@ sftp_server() {
|
||||
fi
|
||||
print_info "** Building sftp-server"
|
||||
srcurl=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.9p1.tar.gz
|
||||
_archive=openssh-9.9p1.tar.gz
|
||||
[ -d $build/sftp_server ] && return 0
|
||||
mkdir -p $build/sftp_server
|
||||
cd $build/sftp_server
|
||||
if [ ! -f $root/downloads/${_archive} ]; then
|
||||
print_info "** Downloading $srcurl"
|
||||
cd $root/downloads
|
||||
wget $srcurl
|
||||
check $? "download $srcurl"
|
||||
cd -
|
||||
fi
|
||||
tar -xf $root/downloads/openssh-9.9p1.tar.gz
|
||||
check $? "Extract openssh"
|
||||
cd openssh-9.9p1
|
||||
|
||||
Reference in new issue
Block a user