From f96437151ba3162131442fb861d4b17c6ed5dbc9 Mon Sep 17 00:00:00 2001 From: Romain Vigier Date: Fri, 14 Feb 2020 02:26:48 +0100 Subject: [PATCH] Don't create dnf cache dir if it already exists --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 60b9ee8..a2244bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,7 @@ stages: - build before_script: - - mkdir .dnf_cache + - mkdir -p .dnf_cache - dnf --setopt=cachedir=$(pwd)/.dnf_cache --setopt=keepcache=True update -y - dnf --setopt=cachedir=$(pwd)/.dnf_cache --setopt=keepcache=True install -y make