diff --git a/AiO_Container/code/main.py b/AiO_Container/code/main.py index 9612f13..044c42b 100644 --- a/AiO_Container/code/main.py +++ b/AiO_Container/code/main.py @@ -46,7 +46,7 @@ OPNSENSEMIRRORLISTV6 = "/etc/debmirror/OPNsenseMirrorListV6" # Custom EXTRAURL = [] -if os.getenv("EXTRA_REPOS", 1): +if os.getenv("EXTRA_REPOS", True): try: with open(os.getenv("REPOFILE", "customRepoList.list"), 'r') as repoListFile: for repoUrl in repoListFile: @@ -388,21 +388,21 @@ def customLinksJob(): if __name__ == "__main__": - if os.getenv("EXTRA_REPOS", 1): + if os.getenv("EXTRA_REPOS", True): customLinksJob() - if os.getenv("PROXMOX_REPOS", 1): - proxmoxJob() + # if os.getenv("PROXMOX_REPOS", True): + # proxmoxJob() - if os.getenv("DOCKER_REPOS", 1): - dockerJob() + # if os.getenv("DOCKER_REPOS", True): + # dockerJob() - if os.getenv("DEBIAN_REPOS", 1): - debianJob() + # if os.getenv("DEBIAN_REPOS", True): + # debianJob() - if os.getenv("OPNSENSE_REPOS", 1): - opnsenseJob() \ No newline at end of file + # if os.getenv("OPNSENSE_REPOS", True): + # opnsenseJob() \ No newline at end of file