From 3533714e16796c7b320ddc3cc5c18780083948a1 Mon Sep 17 00:00:00 2001 From: David Marinho Date: Tue, 1 Aug 2023 15:39:09 +0100 Subject: [PATCH] fix download method with move action --- get.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/get.sh b/get.sh index 8ca07741..98656261 100755 --- a/get.sh +++ b/get.sh @@ -130,7 +130,9 @@ download() { download_file "$url" checksum "$file_name" "$checksum_url" - mv -n "$file_name" "$output_filename" + if [ "$os_name" = "Linux" ] || [ "$os_name" = "Darwin" ]; then + mv "$file_name" "$output_filename" + fi cd "$original_folder" }