mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-08 13:11:50 +08:00
macos: Fix missing suffix for downloading restic binaries
This commit is contained in:
parent
0fdb267275
commit
f1a196c853
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ def download_restic_binaries(arch: str = "amd64") -> bool:
|
|||
arch_suffix = ".zip"
|
||||
elif sys.platform.lower() == "darwin":
|
||||
fname = f"_darwin_{arch}"
|
||||
suffix = ""
|
||||
arch_suffix = ".bz2"
|
||||
else:
|
||||
fname = f"_linux_{arch}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue