Skip to content

Commit f0a36b7

Browse files
Fix repository name in install script
Signed-off-by: Dipankar Das <dipankar@dipankar-das.com>
1 parent f5dcbdd commit f0a36b7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def print_colored(message, color):
2020
print(f"{color}{message}{Colors.NoColor}")
2121

2222
def get_latest_release():
23-
url = "https://api.github.com/repos/ksctl/cli/releases/latest"
23+
url = "https://api.github.com/repos/ksctl/kli/releases/latest"
2424
with urllib.request.urlopen(url) as response:
2525
data = response.read()
2626
release_info = json.loads(data)
@@ -75,9 +75,9 @@ def main():
7575
print_colored(f"Detected OS: {os_name}, Architecture: {arch}", Colors.Green)
7676

7777
print_colored("Downloading files...", Colors.Blue)
78-
download_url_base = f"https://github.com/ksctl/cli/releases/download/{ksctl_version}"
79-
tar_file = f"ksctl-cli_{ksctl_version[1:]}_{os_name}_{arch}.tar.gz"
80-
checksum_file = f"ksctl-cli_{ksctl_version[1:]}_checksums.txt"
78+
download_url_base = f"https://github.com/ksctl/kli/releases/download/{ksctl_version}"
79+
tar_file = f"ksctl-kli_{ksctl_version[1:]}_{os_name}_{arch}.tar.gz"
80+
checksum_file = f"ksctl-kli_{ksctl_version[1:]}_checksums.txt"
8181
download_file(f"{download_url_base}/{tar_file}", tar_file)
8282
download_file(f"{download_url_base}/{checksum_file}", checksum_file)
8383

0 commit comments

Comments
 (0)