From 69c3bcefbd7dac06e9f2c15857101f862f4be58e Mon Sep 17 00:00:00 2001 From: d3v11 Date: Thu, 12 Jan 2012 13:09:59 +0000 Subject: added db/usr/$NICK/git|email to --configure --- contrib/peer2anonet/peer2anonet | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet index df399d3..f1ab538 100755 --- a/contrib/peer2anonet/peer2anonet +++ b/contrib/peer2anonet/peer2anonet @@ -50,6 +50,9 @@ CONFIGURE(){ NICK=`cat conf/git_name` ./scripts/add_as $P2A_ASN $NICK ./scripts/add_ip $P2A_NET/24 $NICK + [ -e "db/usr/$NICK" ] || mkdir -p "db/usr/$NICK" + [ -e "db/usr/$NICK/git" ] || echo "git://git.$NICK.ano/">"db/usr/$NICK/git" + [ -e "db/usr/$NICK/email" ] || echo "`cat conf/git_email`">"db/usr/$NICK/email" exit 0 } -- cgit v1.2.3