From 29a046f388706f29a205b7d3fcdab6fef1ba189b Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 30 Aug 2008 14:52:26 +0200 Subject: [PATCH] sde-download: Enhanced mirror-test to record in .sde/settings when the mirror was chosen --- lib/sde-download/mirror-test.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/sde-download/mirror-test.sh b/lib/sde-download/mirror-test.sh index b12031c..b7388c3 100644 --- a/lib/sde-download/mirror-test.sh +++ b/lib/sde-download/mirror-test.sh @@ -73,4 +73,7 @@ IFS="$OLDIFS" [ -n "$mirror" ] || mirror=broken -$SDEROOT/bin/sde-config-ini -F "$SDESETTINGS" "download-$sdever.mirror=$mirror" +$SDEROOT/bin/sde-config-ini -F "$SDESETTINGS" \ + "download-$sdever.mirror=$mirror" \ + "download-$sdever.mirror_last=$(date +%s)" +