Simplify __virtual__ logic.

This commit is contained in:
Pedro Algarvio 2013-07-27 16:50:56 +01:00
parent 7062ff4366
commit 55fd4273cc

View File

@ -39,8 +39,7 @@ def _get_cmd():
'''
if __grains__['os_family'] == 'RedHat':
return 'alternatives'
else:
return 'update-alternatives'
return 'update-alternatives'
def display(name):