mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix app name in case an url is provided (otherwise it tries to create a file with https://... in the name)
This commit is contained in:
parent
b2d07d1c6e
commit
d328864a43
1 changed files with 2 additions and 0 deletions
|
@ -753,6 +753,8 @@ def app_install(uo, auth, app, label=None, args=None, no_remove_on_failure=False
|
||||||
|
|
||||||
# Start register change on system
|
# Start register change on system
|
||||||
uo.extra.update({'env':env_dict})
|
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()
|
uo.start()
|
||||||
|
|
||||||
# Create app directory
|
# Create app directory
|
||||||
|
|
Loading…
Add table
Reference in a new issue