From b8efbb1cb3c94da9b8402c7e361cf89a8f9b1501 Mon Sep 17 00:00:00 2001 From: John Barker Date: Wed, 2 Apr 2014 20:43:12 +0100 Subject: [PATCH] debconf correctly quote strings --- library/system/debconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/system/debconf b/library/system/debconf index 1dade71f8ad..fded0b0e0b4 100644 --- a/library/system/debconf +++ b/library/system/debconf @@ -107,7 +107,7 @@ def set_selection(module, pkg, question, vtype, value, unseen): data = ' '.join([ question, vtype, value ]) setsel = module.get_bin_path('debconf-set-selections', True) - cmd = ["echo '%s %s' |" % (pipes.quote(pkg), pipes.quote(data)), setsel] + cmd = ["echo %s %s |" % (pipes.quote(pkg), pipes.quote(data)), setsel] if unseen: cmd.append('-u')