[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] ask before installing security updates



helps avoiding accidental *changes commandline arguments

Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 dak/new_security_install.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dak/new_security_install.py b/dak/new_security_install.py
index fb2d5cc..3de9823 100755
--- a/dak/new_security_install.py
+++ b/dak/new_security_install.py
@@ -188,9 +188,11 @@ def main():
         acceptfilename="%s/COMMENTS/ACCEPT.%s_%s" % (os.path.dirname(os.path.abspath(changes[0])), dbchange.source, version)
         acceptfiles[acceptfilename]=1
 
+    print "Would create %s now and then go on to accept this package, if you allow me to." % (acceptfiles.keys())
     if Options["No-Action"]:
-        print "Would create %s now and then go on to accept this package, but No-Action is set" % (acceptfiles.keys())
         sys.exit(0)
+    else:
+        raw_input("Press Enter to continue")
 
     for acceptfilename in acceptfiles.keys():
         accept_file = file(acceptfilename, "w")
-- 
1.7.2.5


Reply to: