2015-08-14 13:17:07 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
|
2015-08-14 14:27:57 +00:00
|
|
|
source "${PALUDIS_EBUILD_DIR}/die_functions.bash"
|
2015-08-14 13:17:07 +00:00
|
|
|
|
|
|
|
PORTDIR="/usr/portage"
|
|
|
|
|
|
|
|
[[ -z ${PORTDIR} || "$(dirname ${PORTDIR})" == "/" ]] && die "PORTDIR empty or pointing to root!"
|
|
|
|
|
|
|
|
|
|
|
|
einfo "syncing metadata cache"
|
|
|
|
egencache --jobs=8 --repo=gentoo --update --update-use-local-desc || die "egencache failed!"
|