From 8bd3b5778660b5d78fbfad3db125156420c4c0f1 Mon Sep 17 00:00:00 2001
From: Joerg Jaspert <joerg@debian.org>
Date: Wed, 5 Nov 2008 20:51:41 +0100
Subject: [PATCH] new-security-install

add a -H to the archvsync sudo call

Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 ChangeLog                   | 5 +++++
 dak/new_security_install.py | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 31085d64..a7c85ec4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-05  Joerg Jaspert  <joerg@debian.org>
+
+	* dak/new_security_install.py (_do_Approve): This sudo call
+	definitely wants the -H option.
+
 2008-11-01  Joerg Jaspert  <joerg@debian.org>
 
 	* dak/process_unchecked.py (check_files): Also check the
diff --git a/dak/new_security_install.py b/dak/new_security_install.py
index a6469e27..024702ca 100755
--- a/dak/new_security_install.py
+++ b/dak/new_security_install.py
@@ -462,7 +462,7 @@ def _do_Approve():
     print "Updating Release files..."
     spawn("dak generate-releases")
     print "Triggering security mirrors..."
-    spawn("sudo -u archvsync /home/archvsync/signal_security")
+    spawn("sudo -u archvsync -H /home/archvsync/signal_security")
 
     # 4. chdir to done - do upload
     if not Options["No-Action"]:
-- 
2.39.5