From 4403719e13355fa2d81cf3e3b15a016a00ffd29d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Thu, 30 Jun 2022 06:38:05 +0200 Subject: [PATCH] Fix failure on existing pacman host cache --- test-in-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-in-docker.sh b/test-in-docker.sh index a02ce75..9625ff1 100755 --- a/test-in-docker.sh +++ b/test-in-docker.sh @@ -42,7 +42,7 @@ test_ares() { # packages will stay in the container sed -i '"'"'s/^#\?\(CacheDir.*\)/\1\nCacheDir = \/var\/cache\/pacman\/pkg_host\//'"'"' /etc/pacman.conf - mkdir /var/cache/pacman/pkg_host/ + mkdir -p /var/cache/pacman/pkg_host/ pacman -Syu --noconfirm linux cd $(mktemp -d) tar xf /tmp/dotfiles.tar.gz -C .