summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2010-05-22 18:17:44 -0500
committerJeremy Olexa <darkside@gentoo.org>2010-05-22 18:17:44 -0500
commit6385902011b6001a2b5eadab79fef202aac11e94 (patch)
tree02de3c27aed96071a06aee94b7e27aa1f6c3746d
parentFix paths in conf files to be relative to this repo (diff)
downloadgentoo-mirrorstats-6385902011b6001a2b5eadab79fef202aac11e94.tar.gz
gentoo-mirrorstats-6385902011b6001a2b5eadab79fef202aac11e94.tar.bz2
gentoo-mirrorstats-6385902011b6001a2b5eadab79fef202aac11e94.zip
Ensure that the htdocs/rsync dir is created
-rwxr-xr-xmirmon-portage.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mirmon-portage.sh b/mirmon-portage.sh
index 5bcfe5c..e5e4f97 100755
--- a/mirmon-portage.sh
+++ b/mirmon-portage.sh
@@ -5,6 +5,7 @@ cd /var/www/mirrorstats.gentoo.org/gentoo-mirrorstats.git/portage_mirrors
[[ -d ./var ]] || mkdir ./var
./get-mirror-list-portage.rb > ./var/g.mirrors
../../mirmon -c ./mirmon.conf -q -get update
+[[ -d ../../htdocs/rsync ]] || mkdir ../../htdocs/rsync
# Set up a nice link to our mirror page directly:
sed \
-e 's#mirrors</H2>#<a href="http://www.gentoo.org/main/en/mirrors-rsync.xml">mirrors</a></H2>#' \