From d80dfda45e582174a3e9eba53c4fe6e996ce5adc Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 12 Feb 2024 23:11:46 +0100 Subject: [PATCH] Add sleep at the end of restore in CI context --- scripts/restore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/restore b/scripts/restore index 3fb68bd..4fa3250 100755 --- a/scripts/restore +++ b/scripts/restore @@ -61,3 +61,7 @@ ynh_store_file_checksum --file="$data_dir/config.xml" #================================================= ynh_script_progression --message="Restoration completed for $app" --last + +if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then + sleep 5 +fi