11 lines
284 B
Bash
11 lines
284 B
Bash
|
#!/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
|