1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix missing colons in cpanm

This commit is contained in:
James Tanner 2014-03-12 17:25:32 -04:00
parent 89024f5d9f
commit e7f74251c8

View file

@ -75,9 +75,9 @@ def _is_package_installed(module, name, locallib, cpanm):
os.environ["PERL5LIB"] = "%s/lib/perl5" % locallib
cmd = "%s perl -M%s -e '1'" % (cmd, name)
res, stdout, stderr = module.run_command(cmd, check_rc=False)
if res == 0
if res == 0:
return True
else
else:
return False
def _build_cmd_line(name, from_path, notest, locallib, mirror, cpanm):