mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Don't use default path for multi_instance test
This commit is contained in:
parent
930f0370c8
commit
13f2643105
1 changed files with 7 additions and 2 deletions
|
@ -865,8 +865,13 @@ CHECK_MULTI_INSTANCE () {
|
|||
local manifest_args_mod="$manifest_arguments"
|
||||
|
||||
# Replace manifest key for the test
|
||||
replace_manifest_key "path" "$test_path"
|
||||
check_path=$test_path
|
||||
if [ "$install_type" = "subdir" ]; then
|
||||
local check_path=$test_path
|
||||
elif [ "$install_type" = "root" ]; then
|
||||
local check_path=/
|
||||
fi
|
||||
replace_manifest_key "path" "$check_path"
|
||||
|
||||
replace_manifest_key "user" "$test_user"
|
||||
replace_manifest_key "public" "$public_public_arg"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue