From 54e3de3ff6f3f29b09cebbfd374f4d211b7184a8 Mon Sep 17 00:00:00 2001 From: orhtej2 <2871798+orhtej2@users.noreply.github.com> Date: Wed, 6 Sep 2023 14:55:30 +0200 Subject: [PATCH] Fixed syntax. --- scripts/ynh_package_version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ynh_package_version b/scripts/ynh_package_version index 67e3df0..678eb61 100644 --- a/scripts/ynh_package_version +++ b/scripts/ynh_package_version @@ -14,7 +14,7 @@ read_manifest () { abort_if_up_to_date () { version=$(read_json "/etc/yunohost/apps/$YNH_APP_INSTANCE_NAME/manifest.json" 'version' 2> /dev/null || echo '20160501-7') last_version=$(read_manifest 'version') - if [ "${version}" = "${last_version}" && [ "$YNH_APP_UPGRADE_TYPE" != "UPGRADE_FORCED" ] ]; then + if [ "${version}" = "${last_version}" ] && [ "$YNH_APP_UPGRADE_TYPE" != "UPGRADE_FORCED" ]; then ynh_print_info "Up-to-date, nothing to do" ynh_die "" 0 fi