From 6733526bee20811051f5e94e9d4963994a3528d8 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 8 Aug 2024 19:14:05 +0200 Subject: [PATCH] ci: try skipping diagnosis during upgrade to speed things up a bit? --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 238817cd7..b8a07442f 100644 --- a/debian/postinst +++ b/debian/postinst @@ -27,7 +27,7 @@ do_configure() { yunohost tools migrations run --auto echo "Re-diagnosing server health..." - yunohost diagnosis run --force + [[ -n "${YNH_SKIP_DIAGNOSIS_DURING_UPGRADE:-}" ]] && echo "(Skipping)" || yunohost diagnosis run --force echo "Refreshing app catalog..." yunohost tools update apps --output-as none || true