From 9b8269b5604e03caaf8e9c37249a05a810e02a45 Mon Sep 17 00:00:00 2001 From: Gredin 67 Date: Sat, 23 Jan 2021 21:06:11 +0100 Subject: [PATCH] try setup sources correctly --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 999fc0e..db966d4 100755 --- a/scripts/install +++ b/scripts/install @@ -146,7 +146,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path #else # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$final_path" +ynh_setup_source --dest_dir="$final_path/src" #================================================= # CREATE DEDICATED USER @@ -207,7 +207,7 @@ ynh_replace_string --match_string=__LOG_LEVEL__ --replace_string="error" --targe # Configure Mautrix-Facebook python3 -m venv $final_path -pip install --upgrade ./mautrix-facebook.tar.gz +pip install --upgrade $final_path/src/mautrix-facebook.tar.gz python -m $final_path/mautrix-facebook -g -c $mautrix_config_path -r $app_service_registration_path/$app.yaml /opt/yunohost/matrix-$synapse_instance/update_synapse_for_appservice.sh \