mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-28 18:18:31 +08:00
Compare commits
25 Commits
194866f306
...
e4d09a75af
| Author | SHA1 | Date | |
|---|---|---|---|
| e4d09a75af | |||
| ced865ae96 | |||
| 39d62d4790 | |||
| 612536ca51 | |||
| a775745284 | |||
| ced4424f7f | |||
| 8c5f96e24c | |||
| 88b986a35c | |||
| cdc21a78f2 | |||
| 3a1b8e0c96 | |||
| 51fad100c8 | |||
| 714b0ff576 | |||
| fd616b3ea4 | |||
| 30b2f2e08f | |||
| 190f50bc95 | |||
| 1678e35a07 | |||
| 16d46f3c82 | |||
| 204d14c4a0 | |||
| 399261f4ad | |||
| 5f6dac91cf | |||
| 2ba745fc2e | |||
| 43876bf6d3 | |||
| 33b5e1d84f | |||
| fc5254f4cb | |||
| 8f20346faa |
@ -89,7 +89,7 @@ def check_download(name: str, version: str, url: str, arch: str) -> None:
|
||||
)
|
||||
conn.commit()
|
||||
# remove old version
|
||||
old_file_path = os.path.join(DEB_BASE_DIR, f"{name}_{local_version}_{arch}.deb")
|
||||
old_file_path = os.path.join(DEB_BASE_DIR, arch, f"{name}_{local_version}_{arch}.deb")
|
||||
if os.path.exists(old_file_path):
|
||||
os.remove(old_file_path)
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user