aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/rancid/files/patch-bin-rancid.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/rancid/files/patch-bin-rancid.in')
-rw-r--r--net-mgmt/rancid/files/patch-bin-rancid.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-mgmt/rancid/files/patch-bin-rancid.in b/net-mgmt/rancid/files/patch-bin-rancid.in
new file mode 100644
index 000000000000..41125bdec988
--- /dev/null
+++ b/net-mgmt/rancid/files/patch-bin-rancid.in
@@ -0,0 +1,13 @@
+--- control_rancid.old 2010-09-17 09:30:59.000000000 +0200
++++ bin/control_rancid.in 2010-09-17 09:33:03.000000000 +0200
+@@ -345,6 +345,10 @@
+ done
+ cd $DIR
+
++if [ $RCSSYS = svn ] ; then
++ $RCSSYS update >/dev/null 2>&1
++fi
++
+ # no routers, empty list or all 'down'
+ if [ ! -s routers.up ]
+ then