mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] stop apps upgrade if one upgrade fail
This commit is contained in:
parent
c530325e29
commit
4882754221
1 changed files with 0 additions and 1 deletions
|
@ -667,7 +667,6 @@ def app_upgrade(app=[], url=None, file=None):
|
||||||
# Execute App upgrade script
|
# Execute App upgrade script
|
||||||
os.system('chown -hR admin: %s' % INSTALL_TMP)
|
os.system('chown -hR admin: %s' % INSTALL_TMP)
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
upgrade_retcode = hook_exec(extracted_app_folder + '/scripts/upgrade',
|
upgrade_retcode = hook_exec(extracted_app_folder + '/scripts/upgrade',
|
||||||
args=args_list, env=env_dict)[0]
|
args=args_list, env=env_dict)[0]
|
||||||
|
|
Loading…
Add table
Reference in a new issue