This commit is contained in:
hasufell 2015-08-19 21:27:24 +02:00
parent cb96ff6025
commit 7e8c68b7a9
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
2 changed files with 1 additions and 9 deletions

View File

@ -6,7 +6,7 @@ source "/etc/paludis/hooks/util_functions.bash"
# You may change this to only update cache of specific repositories. # You may change this to only update cache of specific repositories.
# Should at least include 'gentoo'. Default is all repositories. # Should at least include 'gentoo'. Default is all repositories.
repository_list=( $(print_ebuild_repositories) ) repository_list=( $(${CAVE} print-repositories --format e) )
# Number of jobs for egencache, default is number or processors. # Number of jobs for egencache, default is number or processors.
egencache_jobnum="$(nproc)" egencache_jobnum="$(nproc)"

View File

@ -6,11 +6,3 @@ eend_die() {
eend "$@" eend "$@"
[[ $1 -ne 0 ]] && exit $1 [[ $1 -ne 0 ]] && exit $1
} }
print_ebuild_repositories() {
local i
for i in $(${CAVE} print-repositories) ; do
[[ "$(${CAVE} print-repository-metadata --format "%v" --raw-name format $i)" == "e" ]] &&
echo $i
done
}