From 8e1d6c5ba50da89c6b4ad385708654d4a0558541 Mon Sep 17 00:00:00 2001 From: hasufell Date: Fri, 21 Aug 2015 22:03:14 +0200 Subject: [PATCH] Update for new news repository format --- etc/paludis/hooks/sync_all_post/05-sync_news.bash | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/etc/paludis/hooks/sync_all_post/05-sync_news.bash b/etc/paludis/hooks/sync_all_post/05-sync_news.bash index 4ce3576..7f1dcf1 100644 --- a/etc/paludis/hooks/sync_all_post/05-sync_news.bash +++ b/etc/paludis/hooks/sync_all_post/05-sync_news.bash @@ -9,15 +9,7 @@ ebegin "Updating news items" if [[ -e ${NEWSDIR} ]]; then git -C "${NEWSDIR}" pull -q --ff else - git clone -q https://anongit.gentoo.org/git/proj/gentoo-news.git "${NEWSDIR}" + git clone -q https://anongit.gentoo.org/git/data/gentoo-news.git "${NEWSDIR}" fi -eend_die $? - -ebegin "Cleaning news git repo" -git -C "${NEWSDIR}" clean -fdxq -eend_die $? - -ebegin "Copying news to base directory" -cp -a "${NEWSDIR}"/*/* "${NEWSDIR}" -eend $? +eend $? "Try to remove ${PORTDIR}/metadata/news"