debconf correctly quote strings

pull/6826/head
John Barker 11 years ago
parent 5795796546
commit b8efbb1cb3

@ -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')

Loading…
Cancel
Save