Fetch projects.xml instead
This commit is contained in:
parent
bbacf44337
commit
fb0fca708f
10
hooks/sync_post/04-sync_gentoo_projects_xml.bash
Normal file
10
hooks/sync_post/04-sync_gentoo_projects_xml.bash
Normal 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
|
Loading…
Reference in New Issue
Block a user