[arch-projects] [devtools] [PATCH] arch-nspawn: Work around pacman master returning file-URLs from the cache
Jan Alexander Steffens (heftig)
jan.steffens at gmail.com
Sat May 28 10:34:06 UTC 2016
---
arch-nspawn.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch-nspawn.in b/arch-nspawn.in
index 357d9509eecc2de4..e46b57ffcdc2cda2 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -53,7 +53,7 @@ else
cache_dirs=("$cache_dir")
fi
-host_mirror=$(pacman -Sddp extra/devtools 2>/dev/null | sed -r 's#(.*/)extra/os/.*#\1$repo/os/$arch#')
+host_mirror=$(pacman --cachedir /doesnt/exist -Sddp extra/devtools 2>/dev/null | sed -r 's#(.*/)extra/os/.*#\1$repo/os/$arch#')
[[ $host_mirror == *file://* ]] && host_mirror_path=$(echo "$host_mirror" | sed -r 's#file://(/.*)/\$repo/os/\$arch#\1#g')
# {{{ functions
--
2.8.3
More information about the arch-projects
mailing list