diff --git a/scripts/ynh_package_version b/scripts/ynh_package_version index 16a1ae3..5e29e7f 100644 --- a/scripts/ynh_package_version +++ b/scripts/ynh_package_version @@ -15,7 +15,9 @@ 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}" ]; then - sleep 60 + if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then + sleep 60 + fi ynh_print_info "Up-to-date, nothing to do" ynh_die "" 0 fi