|
@ -17,6 +17,7 @@ class EERepo(): |
|
|
repo_file_path = ("/etc/apt/sources.list.d/" |
|
|
repo_file_path = ("/etc/apt/sources.list.d/" |
|
|
+ EEVariables().ee_repo_file) |
|
|
+ EEVariables().ee_repo_file) |
|
|
try: |
|
|
try: |
|
|
|
|
|
if repo_url not in open(repo_file_path).read(): |
|
|
with open(repo_file_path, "a") as repofile: |
|
|
with open(repo_file_path, "a") as repofile: |
|
|
repofile.write(repo_url) |
|
|
repofile.write(repo_url) |
|
|
repofile.close() |
|
|
repofile.close() |
|
|