From 1e5e0972c823dd12549a598bfe8d7ee3532b3bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 15 Feb 2024 00:20:46 +0100 Subject: [PATCH] ci: Cleanup installation script --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a9e568..befc7cf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,7 +31,11 @@ workflow: before_script: - mkdir -m 700 $TMPDIR -p - dnf update -y - - if [ -x /bin/dnf ]; then dnf install -y $DEPENDENCIES $JOB_DEPS; else dnf5 install -y $DEPENDENCIES $JOB_DEPS; fi + - if [ -x /bin/dnf ]; then + dnf install -y $DEPENDENCIES $JOB_DEPS; + else + dnf5 install -y $DEPENDENCIES $JOB_DEPS; + fi pre_commit: variables: