From 3c3485a49f5103976b52537b107b37c160667412 Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Thu, 23 Jan 2020 09:25:08 +0100 Subject: [PATCH] Fix port assignment --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 5c4e67c..7035c71 100644 --- a/scripts/install +++ b/scripts/install @@ -44,8 +44,8 @@ test ! -e "$final_path" || ynh_die --message "This path already contains a folde # Find available ports ynh_script_progression --message="Finding available ports..." seahub_port=$(ynh_find_port --port 8000) -fileserver_port=$(ynh_find_port --port 8082) -webdav_port=$(ynh_find_port --port 8080) +fileserver_port=$(ynh_find_port --port $(expr $seahub_port + 1)) +webdav_port=$(ynh_find_port --port $(expr $fileserver_port + 1)) # store config in yunohost ynh_script_progression --message="Storing installation settings..."