From 9d08eefa9ad04f8e37d381ffc8c092fa73cd137e Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 11 Apr 2012 20:45:14 -0400 Subject: [PATCH] Also allow the apt module to use package or name as an alias for 'pkg' --- apt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt b/apt index 1bce1931b1a..90e4b17a1bd 100755 --- a/apt +++ b/apt @@ -113,7 +113,7 @@ for x in items: params[k] = v state = params.get('state','installed') -package = params.get('pkg', None) +package = params.get('pkg', params.get('package', params.get('name', None))) update_cache = params.get('update-cache', 'no') purge = params.get('purge', 'no')