13 lines
363 B
Bash
13 lines
363 B
Bash
#!/bin/bash
|
|
|
|
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
|
|
source "${PALUDIS_EBUILD_DIR}/die_functions.bash"
|
|
|
|
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!"
|