fix update_container

This commit is contained in:
Kay0u 2023-05-17 12:19:44 +02:00
parent 35ba94d08a
commit 13682de9de
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -206,7 +206,7 @@ update_container() {
local debian_version=$1 local debian_version=$1
local ynh_version=$2 local ynh_version=$2
local snapshot=$3 local snapshot=$3
local image_to_update="yunohost-$debian_version-$ynh_version-$snapshot" local image_to_update="yunohost-$debian_version-$ynh_version"
if ! lxc info "$image_to_update" &>/dev/null if ! lxc info "$image_to_update" &>/dev/null
then then