Use wget timestamping

This commit is contained in:
Julian Ospald 2016-02-22 21:00:16 +01:00
parent 5650589bc2
commit 209c2f1dc3
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -8,5 +8,5 @@ repository_path="${3}"
source /lib/gentoo/functions.sh
ebegin "Updating projects.xml"
wget -q -O "${repository_path}"/metadata/projects.xml https://api.gentoo.org/metastructure/projects.xml
wget -q -P "${repository_path}"/metadata/ -N https://api.gentoo.org/metastructure/projects.xml
eend $?