|
|
@ -71,7 +71,7 @@ def query_package(module, name):
|
|
|
|
if pkg_info_path:
|
|
|
|
if pkg_info_path:
|
|
|
|
pkgng = False
|
|
|
|
pkgng = False
|
|
|
|
pkg_glob_path = module.get_bin_path('pkg_glob', True)
|
|
|
|
pkg_glob_path = module.get_bin_path('pkg_glob', True)
|
|
|
|
rc, out, err = module.run_command("%s -e `pkg_glob %s`" % (pkg_info_path, pipes.quote(name), use_unsafe_shell=True)
|
|
|
|
rc, out, err = module.run_command("%s -e `pkg_glob %s`" % (pkg_info_path, pipes.quote(name)), use_unsafe_shell=True)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
pkgng = True
|
|
|
|
pkgng = True
|
|
|
|
pkg_info_path = module.get_bin_path('pkg', True)
|
|
|
|
pkg_info_path = module.get_bin_path('pkg', True)
|
|
|
|