From d328864a43c43c827264eceb8e1ac52c67350037 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 21 Jul 2018 16:26:27 +0000 Subject: [PATCH] Fix app name in case an url is provided (otherwise it tries to create a file with https://... in the name) --- src/yunohost/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 92f5584a..e443f517 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -753,6 +753,8 @@ def app_install(uo, auth, app, label=None, args=None, no_remove_on_failure=False # Start register change on system uo.extra.update({'env':env_dict}) + uo.related_to = [s for s in uo.related_to if s[0] != "app"] + uo.related_to.append(("app", app_id)) uo.start() # Create app directory