Merge pull request #87 from YunoHost/testing

add --force during the upgrade test
This commit is contained in:
Kayou 2021-01-12 13:39:03 +01:00 committed by GitHub
commit b62363108f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -966,7 +966,7 @@ CHECK_UPGRADE () {
ECHO_FORMAT "\nUpgrade...\n" "white" "bold" clog
# Upgrade the application in a LXC container
LXC_START "sudo PACKAGE_CHECK_EXEC=1 yunohost --debug app upgrade $ynh_app_id -f \"$package_dir\""
LXC_START "sudo PACKAGE_CHECK_EXEC=1 yunohost --debug app upgrade $ynh_app_id --file \"$package_dir\"" --force
# yunohost_result gets the return code of the upgrade
yunohost_result=$?