|
@ -17,8 +17,8 @@ class EEAptGet(): |
|
|
""" |
|
|
""" |
|
|
try: |
|
|
try: |
|
|
with open('/var/log/ee/ee.log', 'a') as f: |
|
|
with open('/var/log/ee/ee.log', 'a') as f: |
|
|
proc = subprocess.Popen('apt-get update {0}' |
|
|
proc = subprocess.Popen('apt-get update', |
|
|
.format(all_packages), shell=True, |
|
|
shell=True, |
|
|
stdin=None, stdout=f, stderr=f, |
|
|
stdin=None, stdout=f, stderr=f, |
|
|
executable="/bin/bash") |
|
|
executable="/bin/bash") |
|
|
proc.wait() |
|
|
proc.wait() |
|
|