Code works now from how it looks
This commit is contained in:
@@ -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()
|
||||
# if os.getenv("OPNSENSE_REPOS", True):
|
||||
# opnsenseJob()
|
||||
Reference in New Issue
Block a user