From 319d32890ad2f987771aaf36bef4007a8a17f0e0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 26 Nov 2008 23:50:09 +0100 Subject: [PATCH] Source can only be downloaded by IPFireSourceGrabber/*. --- lfs/Config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/Config b/lfs/Config index a216479f41..86c5fdf0a7 100644 --- a/lfs/Config +++ b/lfs/Config @@ -156,13 +156,13 @@ endif define CHECK @echo -e "$(MESSAGE)Check: $($(notdir $@))" - wget -T 120 -t 1 --spider -nv $($(notdir $@)) -O /dev/null + wget -T 120 -t 1 --spider -nv -U "IPFireSourceGrabber/2.x" $($(notdir $@)) -O /dev/null @touch $(DIR_CHK)/$(notdir $@) endef define LOAD @echo -e "$(MESSAGE)Download: $($(notdir $@))" - wget -T 60 -t 1 -c -nv $($(notdir $@)) -O $(DIR_TMP)/$(notdir $@) + wget -T 60 -t 1 -c -nv -U "IPFireSourceGrabber/2.x" $($(notdir $@)) -O $(DIR_TMP)/$(notdir $@) [ "$($(notdir $@)_MD5)" = `md5sum $(DIR_TMP)/$(notdir $@) | awk '{ print $$1 }'` ] # detect page not found answer mv $(DIR_TMP)/$(notdir $@) $(DIR_DL) endef -- 2.39.2