Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
5cd5b352
Commit
5cd5b352
authored
Feb 17, 2016
by
Igor Pecovnik
Browse files
URL fix
parent
14f3dadf
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions.sh
View file @
5cd5b352
...
...
@@ -432,9 +432,9 @@ PREFIX="http://www.softether-download.com/files/softether/"
URL=
$(
wget
-q
$PREFIX
-O
- | html2text |
grep
rtm |
awk
' { print $(NF) }'
|
tail
-1
)
SUFIX="
${
URL
/-tree/
}
"
if [ "
$(
dpkg
--print-architecture
|
grep
armhf
)
" != "" ]; then
DLURL=
$PREFIX$URL
"
/Linux/SoftEther
%20VPN%20
Server/32bit
%20-%20ARM%20
EABI/softether-vpnserver-
$SUFIX
-linux-arm_eabi-32bit.tar.gz
"
DLURL=
$PREFIX$URL
"
/Linux/SoftEther
_VPN_
Server/32bit
_-_ARM_
EABI/softether-vpnserver-
$SUFIX
-linux-arm_eabi-32bit.tar.gz
"
else
DLURL=
$PREFIX$URL
"
/Linux/SoftEther
%20VPN%20
Server/32bit
%20-%20
Intel
%20
x86/softether-vpnserver-
$SUFIX
-linux-x86-32bit.tar.gz
"
DLURL=
$PREFIX$URL
"
/Linux/SoftEther
_VPN_
Server/32bit
_-_
Intel
_
x86/softether-vpnserver-
$SUFIX
-linux-x86-32bit.tar.gz
"
fi
wget
$DLURL
-O - | tar -xz
cd vpnserver
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment