From 9a610275bb676c2cfb06a314aec26e1dbd8c8673 Mon Sep 17 00:00:00 2001
From: Per Cederqvist <ceder@lysator.liu.se>
Date: Fri, 23 Nov 2012 07:33:35 +0000
Subject: [PATCH] Ryttargardskyrkan: Adjust to mailman filesystem layout
 changes.

* fetch-work-pcfritz: The mailman archives moved from /usr/local to
  /var/lib back in 2009. Adjust the backup script. (We do have backups
  of the data in /var/lib, but all in one big chunk.)
---
 ChangeLog          | 7 +++++++
 fetch-work-pcfritz | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7be023e..a52be76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-11-23  Per Cederqvist  <ceder@ryttargardskyrkan.se>
+
+	Ryttargardskyrkan: Adjust to mailman filesystem layout changes.
+	* fetch-work-pcfritz: The mailman archives moved from /usr/local
+	to /var/lib back in 2009. Adjust the backup script. (We do have
+	backups of the data in /var/lib, but all in one big chunk.)
+
 2012-11-22  Per Cederqvist  <ceder@ryttargardskyrkan.se>
 
 	Ryttargardskyrkan have a new YP master.
diff --git a/fetch-work-pcfritz b/fetch-work-pcfritz
index 014ead4..716c56a 100755
--- a/fetch-work-pcfritz
+++ b/fetch-work-pcfritz
@@ -13,10 +13,10 @@ echo samuel opt samuel /opt >> $NT
 
 SAMUEL=samuel
 
-ssh -i /root/.ssh/backupkey -l root $SAMUEL ls -1 /usr/local/mailman/archives/private \
+ssh -i /root/.ssh/backupkey -l root $SAMUEL ls -1 /var/lib/mailman/archives/private \
  | sort \
  | awk '{print "mailman-private", $1, 
-	       "samuel /usr/local/mailman/archives/private/" $1}' \
+	       "samuel /var/lib/mailman/archives/private/" $1}' \
 >> $NT
 
 echo jemima mediawiki jemima /usr/share/mediawiki-stage >> $NT
-- 
GitLab