mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Merge pull request #45481 from twangboy/fix_aptpkg
Fix if statement in __init__()
This commit is contained in:
commit
9c4fb42e5f
@ -104,7 +104,7 @@ def __init__(opts):
|
||||
a few env variables to keep apt happy and
|
||||
non-interactive.
|
||||
'''
|
||||
if __virtual__():
|
||||
if __virtual__() == __virtualname__:
|
||||
# Export these puppies so they persist
|
||||
os.environ.update(DPKG_ENV_VARS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user