Fix failure on existing pacman host cache

This commit is contained in:
2022-06-30 06:38:05 +02:00
parent 24616ec1db
commit 4403719e13

View File

@@ -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 .