Fix for travis on Ubuntu focal

This commit is contained in:
VirtuBox
2020-10-15 13:40:17 +02:00
parent 5b6fbe278b
commit 43cd78ebc6

View File

@@ -13,6 +13,7 @@ export DEBIAN_FRONTEND=noninteractive
unset LANG unset LANG
export LANG='en_US.UTF-8' export LANG='en_US.UTF-8'
export LC_ALL='C.UTF-8' export LC_ALL='C.UTF-8'
wo_distro=$(lsb_release -sc)
if [ -z "$1" ]; then if [ -z "$1" ]; then
{ {
@@ -259,6 +260,7 @@ else
exit_script exit_script
fi fi
if [ "$wo_distro" != "focal" ]; then
echo -ne " wo secure --sshport [..]\r" echo -ne " wo secure --sshport [..]\r"
if { if {
wo secure --sshport 2022 wo secure --sshport 2022
@@ -283,6 +285,7 @@ else
exit_script exit_script
fi fi
fi
echo -ne " wo secure --port [..]\r" echo -ne " wo secure --port [..]\r"
if { if {
wo secure --port 22223 wo secure --port 22223