mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-29 02:28:30 +08:00
Compare commits
25 Commits
e4d09a75af
...
194866f306
| Author | SHA1 | Date | |
|---|---|---|---|
| 194866f306 | |||
| a28355f2c4 | |||
| adb9c1863d | |||
| 89143cdacd | |||
| 7d1a73332c | |||
| 3448e12357 | |||
| f36e90c12a | |||
| a067cc55e2 | |||
| 4ff28c8476 | |||
| e729997857 | |||
| 0157d85a2b | |||
| 79f78687ed | |||
| edaace8a6e | |||
| 702bbcaa5c | |||
| f0bd23de24 | |||
| eff521bfc0 | |||
| a0c387dc00 | |||
| 4d15fd95c1 | |||
| 424f2d43b7 | |||
| 2e17e9dd8a | |||
| bdd43d63b5 | |||
| c3b2823a9d | |||
| 5698f8fb27 | |||
| e880333d90 | |||
| d70f685d5f |
@ -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, arch, f"{name}_{local_version}_{arch}.deb")
|
||||
old_file_path = os.path.join(DEB_BASE_DIR, 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