Don't create dnf cache dir if it already exists

This commit is contained in:
Romain Vigier
2020-02-14 02:26:48 +01:00
parent 7745dca4ee
commit f96437151b
+1 -1
View File
@@ -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