fix upgrade from the same version

This commit is contained in:
Kayou 2021-01-19 10:25:56 +01:00 committed by GitHub
parent 5cd3eb39ea
commit 7ec20b911a
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 --file \"$package_dir\"" --force
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=$?