From ed4717a978efa05e27f5f6816f0efa5d7fac95aa 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 --- system/debconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/debconf b/system/debconf index 1dade71f8ad..fded0b0e0b4 100644 --- a/system/debconf +++ b/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')