public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gentoo-mirrorstats:master commit in: distfiles_mirrors/, /
@ 2015-04-14 11:44 Alex Legler
  0 siblings, 0 replies; only message in thread
From: Alex Legler @ 2015-04-14 11:44 UTC (permalink / raw
  To: gentoo-commits

commit:     a4938a7a8e2d56e0251dd5d25365f1ce74438d63
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Tue Apr 14 11:43:25 2015 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Tue Apr 14 11:43:25 2015 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=a4938a7a

Update URIs

 distfiles_mirrors/mirmon.conf | 2 +-
 mirmon-distfiles.sh           | 5 +++--
 mirmon-rsync.sh               | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/distfiles_mirrors/mirmon.conf b/distfiles_mirrors/mirmon.conf
index 64d9737..2e6c9db 100644
--- a/distfiles_mirrors/mirmon.conf
+++ b/distfiles_mirrors/mirmon.conf
@@ -1,5 +1,5 @@
 project_name Gentoo Linux
-web_page /var/www/mirrorstats.gentoo.org/htdocs/index-wip.html
+web_page /var/www/mirrorstats.gentoo.org/htdocs/distfiles/index-wip.html
 icons icons
 countries /var/www/mirrorstats.gentoo.org/countries.list
 mirror_list /var/www/mirrorstats.gentoo.org/gentoo-mirrorstats/distfiles_mirrors/var/g.mirrors

diff --git a/mirmon-distfiles.sh b/mirmon-distfiles.sh
index d9a1d48..f8012cc 100755
--- a/mirmon-distfiles.sh
+++ b/mirmon-distfiles.sh
@@ -7,9 +7,10 @@ cd /var/www/mirrorstats.gentoo.org/gentoo-mirrorstats/distfiles_mirrors
 # fatal if the state file is NOT present.
 [[ -e ./var/mirmon.state ]] || touch ./var/mirmon.state
 # run mirmon
-/usr/bin/perl ../../mirmon -c ./mirmon.conf -q -get update
+/usr/bin/perl ../../mirmon/mirmon -c ./mirmon.conf -q -get update
 # Set up a nice link to our mirror page directly:
+[[ -d ../../htdocs/distfiles ]] || mkdir ../../htdocs/distfiles
 sed \
     -e 's#mirrors</H2>#<a href="http://www.gentoo.org/main/en/mirrors2.xml">mirrors</a></H2>#' \
-    >../../htdocs/index.html <../../htdocs/index-wip.html
+    >../../htdocs/distfiles/index.html <../../htdocs/distfiles/index-wip.html
 

diff --git a/mirmon-rsync.sh b/mirmon-rsync.sh
index 0efc6e0..1934d90 100755
--- a/mirmon-rsync.sh
+++ b/mirmon-rsync.sh
@@ -22,7 +22,7 @@ done
 # fatal if the state file is NOT present.
 [[ -e ./var/mirmon.state ]] || touch ./var/mirmon.state
 # run mirmon
-/usr/bin/perl ../../mirmon -c ./mirmon.conf -q -get update
+/usr/bin/perl ../../mirmon/mirmon -c ./mirmon.conf -q -get update
 [[ -d ../../htdocs/rsync ]] || mkdir ../../htdocs/rsync
 # Set up a nice link to our mirror page directly:
 sed \


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-14 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-14 11:44 [gentoo-commits] proj/gentoo-mirrorstats:master commit in: distfiles_mirrors/, / Alex Legler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox