mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Skip custom apps in upgrade process
This commit is contained in:
parent
ccb6e16f8a
commit
ff75dc68ee
1 changed files with 2 additions and 2 deletions
4
app.py
4
app.py
|
@ -308,8 +308,8 @@ def app_upgrade(auth, app, url=None, file=None):
|
|||
elif url:
|
||||
manifest = _fetch_app_from_git(url)
|
||||
elif 'lastUpdate' not in new_app_dict or 'git' not in new_app_dict:
|
||||
raise MoulinetteError(errno.EDESTADDRREQ,
|
||||
m18n.n('custom_app_url_required', app_id))
|
||||
msignals.display(m18n.n('custom_app_url_required', app_id), 'warning')
|
||||
continue
|
||||
elif (new_app_dict['lastUpdate'] > current_app_dict['lastUpdate']) \
|
||||
or ('update_time' not in current_app_dict['settings'] \
|
||||
and (new_app_dict['lastUpdate'] > current_app_dict['settings']['install_time'])) \
|
||||
|
|
Loading…
Add table
Reference in a new issue