From f3bac189b063518742711b5863a44134248f6dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristhian=20Mart=C3=ADnez=20Ochoa?= Date: Sat, 7 Jul 2018 17:53:55 -0500 Subject: [PATCH] fixed custom-version install An issue installing custom versions before v1.4.1. --- weby | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weby b/weby index b0c1d68..dd8c45a 100644 --- a/weby +++ b/weby @@ -80,6 +80,8 @@ if [[ -a /opt/webinoly/webinoly.conf ]]; then fi else [[ -n $2 && $2 != "-ver="* ]] && tools_port $2 + # Compatibility with old versions - before v1.4.1 we used to declare the tools_port here. + [[ $2 == "-ver="* && webyversion == $ver && ${ver//.} -le 140 ]] && tools_port 22222 newinst="true" fi