[arch-projects] [devtools] [PATCH] arch-nspawn: Work around pacman master returning file-URLs from the cache
28 May
2016
28 May
'16
10:34 a.m.
--- 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
3129
Age (days ago)
3129
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jan Alexander Steffens (heftig)