From a9c2e597ac8e0fb339d24c108375e6cd87032d20 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Sun, 29 Jul 2012 12:28:50 -0400 Subject: [PATCH] Fix typo in apt error message: update-cache -> update_cache The apt parameter changed from update-cache to update_cache, but the error message still mentioned update-cache --- library/apt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/apt b/library/apt index 41705ce66ea..1824b3c05d1 100755 --- a/library/apt +++ b/library/apt @@ -128,7 +128,7 @@ def main(): p = module.params if p['package'] is None and p['update_cache'] != 'yes': - module.fail_json(msg='pkg=name and/or update-cache=yes is required') + module.fail_json(msg='pkg=name and/or update_cache=yes is required') install_recommends = (p['install_recommends'] == 'yes')