From 769ee61f66562428eac6e26785d73272eb39b5d0 Mon Sep 17 00:00:00 2001 From: Sam Hanes Date: Mon, 23 Jun 2014 17:12:19 -0700 Subject: [PATCH] Restore #6484 reverted by c751168. --- library/packaging/apt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/packaging/apt b/library/packaging/apt index cf4fd73975..63da127648 100755 --- a/library/packaging/apt +++ b/library/packaging/apt @@ -421,7 +421,7 @@ def main(): update_cache = dict(default=False, aliases=['update-cache'], type='bool'), cache_valid_time = dict(type='int'), purge = dict(default=False, type='bool'), - package = dict(default=None, aliases=['pkg', 'name']), + package = dict(default=None, aliases=['pkg', 'name'], type='list'), deb = dict(default=None), default_release = dict(default=None, aliases=['default-release']), install_recommends = dict(default='yes', aliases=['install-recommends'], type='bool'), @@ -511,7 +511,7 @@ def main(): install_recommends=install_recommends, force=force_yes, dpkg_options=p['dpkg_options']) - packages = p['package'].split(',') + packages = p['package'] latest = p['state'] == 'latest' for package in packages: if package.count('=') > 1: