commit
e53a9e5743
1 changed files with 4 additions and 2 deletions
|
@ -264,8 +264,10 @@ def main():
|
|||
except:
|
||||
module.fail_json(msg="Could not import python modules: apt, apt_pkg. Please install python-apt package.")
|
||||
|
||||
global APTITUDE_CMD = module.get_bin_path("aptitude", False)
|
||||
global APT_GET_CMD = module.get_bin_path("apt-get")
|
||||
global APTITUDE_CMD
|
||||
APTITUDE_CMD = module.get_bin_path("aptitude", False)
|
||||
global APT_GET_CMD
|
||||
APT_GET_CMD = module.get_bin_path("apt-get")
|
||||
|
||||
p = module.params
|
||||
install_recommends = p['install_recommends']
|
||||
|
|
Loading…
Reference in a new issue