mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Add force option in upgrade script
This commit is contained in:
parent
9f81d77693
commit
ebb492fd1e
2 changed files with 5 additions and 1 deletions
|
@ -640,6 +640,10 @@ app:
|
|||
-f:
|
||||
full: --file
|
||||
help: Folder or tarball for upgrade
|
||||
-F:
|
||||
full: --force
|
||||
help: Force the update, even though the app is up to date
|
||||
action: store_true
|
||||
|
||||
### app_change_url()
|
||||
change-url:
|
||||
|
|
|
@ -410,7 +410,7 @@ def app_change_url(operation_logger, app, domain, path):
|
|||
hook_callback('post_app_change_url', args=args_list, env=env_dict)
|
||||
|
||||
|
||||
def app_upgrade(app=[], url=None, file=None):
|
||||
def app_upgrade(app=[], url=None, file=None, force=False):
|
||||
"""
|
||||
Upgrade app
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue