Simplify
This commit is contained in:
parent
cb96ff6025
commit
7e8c68b7a9
@ -6,7 +6,7 @@ source "/etc/paludis/hooks/util_functions.bash"
|
||||
|
||||
# You may change this to only update cache of specific 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.
|
||||
egencache_jobnum="$(nproc)"
|
||||
|
@ -6,11 +6,3 @@ eend_die() {
|
||||
eend "$@"
|
||||
[[ $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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user