Skip to content
This repository was archived by the owner on Apr 26, 2026. It is now read-only.

Commit 9bceaab

Browse files
authored
Update update.py
1 parent 404fb94 commit 9bceaab

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/update.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import mirrors
33
import os
44
import install
5+
import updatelist
56

6-
# credits to chatgpt for helping building this, i was seriously lost
7-
# keep this comment forever.
7+
# there was a credit to chatgpt, but i later found out i just had bad configs
88

99
def parse_versions(data):
1010
result = {}
@@ -20,6 +20,7 @@ def main():
2020

2121
versions_full = ""
2222
for i in mirrors.versions_places:
23+
print(f"Fetching {i}")
2324
os.system(f"curl -s -L -o /tmp/versions {i}")
2425
with open("/tmp/versions", "r") as f:
2526
versions = f.read()
@@ -36,8 +37,10 @@ def main():
3637
if pkg in local_versions and local_versions[pkg] != ver:
3738
needs_update.append(pkg)
3839

40+
updatelist.main()
41+
3942
if needs_update:
40-
print(needs_update)
43+
pass
4144
else:
4245
status("System up-to-date.", "ok")
4346

0 commit comments

Comments
 (0)