|
|
@ -196,13 +196,6 @@ def main():
|
|
|
|
result['name'] = name
|
|
|
|
result['name'] = name
|
|
|
|
result['state'] = state
|
|
|
|
result['state'] = state
|
|
|
|
|
|
|
|
|
|
|
|
# Decide if the name contains a version number.
|
|
|
|
|
|
|
|
match = re.search("-[0-9]", name)
|
|
|
|
|
|
|
|
if match:
|
|
|
|
|
|
|
|
specific_version = True
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
specific_version = False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Get package state
|
|
|
|
# Get package state
|
|
|
|
installed_state = get_package_state(module, name)
|
|
|
|
installed_state = get_package_state(module, name)
|
|
|
|
|
|
|
|
|
|
|
|