mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #45481 from twangboy/fix_aptpkg
Fix if statement in __init__()
This commit is contained in:
commit
9c4fb42e5f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue