13 lines
270 B
Bash
Executable File
13 lines
270 B
Bash
Executable File
#!/bin/bash
|
|
|
|
repository_name="${1}"
|
|
repository_path="${3}"
|
|
|
|
[[ ${repository_name} == "gentoo" ]] || exit 0
|
|
|
|
source /lib/gentoo/functions.sh
|
|
|
|
ebegin "Updating herds.xml"
|
|
wget -q -O "${repository_path}"/metadata/herds.xml https://api.gentoo.org/packages/herds.xml
|
|
eend $?
|