etc-gentoo/paludis/hooks/sync_all_post/sync_cache.bash

14 lines
486 B
Bash

#!/bin/bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
source "${PALUDIS_EBUILD_DIR}/die_functions.bash"
source "/etc/paludis/hooks/set_portdir.bash"
einfo "syncing metadata cache"
for i in gentoo games-overlay desktop-overlay media-overlay prism-overlay libressl arx-libertatis dotnet haskell qt sage-on-gentoo torbrowser tox-overlay hasufell-overlay; do
egencache --jobs=8 --repo=${i} --update --update-use-local-desc \
|| die "egencache failed for overlay ${i}!"
done