Skip to content

Commit 0426ad5

Browse files
committed
[update] : Share package cache with other architectures
1 parent 91ac0fa commit 0426ad5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,13 @@ make_pacman_conf() {
532532
msg_info "Use cached package files in ${cache_dir}"
533533
fi
534534

535+
# Share any architecture packages
536+
#while read -r _pkg; do
537+
# if [[ ! -f "${cache_dir}/$(basename "${_pkg}")" ]]; then
538+
# ln -s "${_pkg}" "${cache_dir}"
539+
# fi
540+
#done < <(find "${cache_dir}/../" -type d -name "$(basename "${cache_dir}")" -prune -o -type f -name "*-any.pkg.tar.*" -printf "%p\n")
541+
535542
return 0
536543
}
537544

0 commit comments

Comments
 (0)