mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix multiinstance for private apps
This commit is contained in:
parent
6eb3183ad4
commit
8fb8d3249c
1 changed files with 7 additions and 1 deletions
|
@ -738,7 +738,7 @@ CHECK_MULTI_INSTANCE () {
|
||||||
# Second installation
|
# Second installation
|
||||||
elif [ $i -eq 2 ]
|
elif [ $i -eq 2 ]
|
||||||
then
|
then
|
||||||
local path_2=$test_path-2
|
local path_2="/2${test_path#/}"
|
||||||
ECHO_FORMAT "Second installation: path=$path_2\n" clog
|
ECHO_FORMAT "Second installation: path=$path_2\n" clog
|
||||||
check_path=$path_2
|
check_path=$path_2
|
||||||
# Third installation
|
# Third installation
|
||||||
|
@ -759,13 +759,16 @@ CHECK_MULTI_INSTANCE () {
|
||||||
if [ $i -eq 1 ]
|
if [ $i -eq 1 ]
|
||||||
then
|
then
|
||||||
local multi_yunohost_result_1=$yunohost_result
|
local multi_yunohost_result_1=$yunohost_result
|
||||||
|
local ynh_app_id_1=$ynh_app_id
|
||||||
# Second installation
|
# Second installation
|
||||||
elif [ $i -eq 2 ]
|
elif [ $i -eq 2 ]
|
||||||
then
|
then
|
||||||
local multi_yunohost_result_2=$yunohost_result
|
local multi_yunohost_result_2=$yunohost_result
|
||||||
|
local ynh_app_id_2=$ynh_app_id
|
||||||
# Third installation
|
# Third installation
|
||||||
else
|
else
|
||||||
local multi_yunohost_result_3=$yunohost_result
|
local multi_yunohost_result_3=$yunohost_result
|
||||||
|
local ynh_app_id_3=$ynh_app_id
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -776,13 +779,16 @@ CHECK_MULTI_INSTANCE () {
|
||||||
if [ $i -eq 1 ]
|
if [ $i -eq 1 ]
|
||||||
then
|
then
|
||||||
check_path=$path_1
|
check_path=$path_1
|
||||||
|
ynh_app_id=$ynh_app_id_1
|
||||||
# Second app
|
# Second app
|
||||||
elif [ $i -eq 2 ]
|
elif [ $i -eq 2 ]
|
||||||
then
|
then
|
||||||
check_path=$path_2
|
check_path=$path_2
|
||||||
|
ynh_app_id=$ynh_app_id_2
|
||||||
# Third app
|
# Third app
|
||||||
else
|
else
|
||||||
check_path=$path_3
|
check_path=$path_3
|
||||||
|
ynh_app_id=$ynh_app_id_3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Try to access the app by its url
|
# Try to access the app by its url
|
||||||
|
|
Loading…
Add table
Reference in a new issue