Fetch projects.xml instead

This commit is contained in:
Julian Ospald 2016-02-22 20:53:29 +01:00
parent 80ccaf23a0
commit 096952abd7
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
source "/etc/paludis/hooks/set_portdir.bash"
if [[ ${TARGET} == gentoo ]] ; then
ebegin "Updating herds.xml"
wget -q -O "${PORTDIR}"/metadata/projects.xml https://api.gentoo.org/metastructure/projects.xml
eend $?
fi