From 310a8174638d6d8a763cc6f2fb27517628ea9a36 Mon Sep 17 00:00:00 2001 From: Christophe Pinte Date: Thu, 19 Sep 2024 22:27:32 +1000 Subject: [PATCH] More details in update message on MacOS --- src/utils.f90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.f90 b/src/utils.f90 index b31825cc5..4681adbee 100644 --- a/src/utils.f90 +++ b/src/utils.f90 @@ -879,6 +879,7 @@ function mcfost_update(lforce_update, lmanual, n_days) if (operating_system=="Linux ") then url = trim(webpage)//"mcfost_Linux-X64.tar.gz" url_sha1 = trim(webpage)//"mcfost_Linux-X64.sha1" + write(*,*) "Your system is ", operating_system else if (operating_system=="Darwin") then if (architecture == "arm64") then url = trim(webpage)//"mcfost_macOS-ARM64.tar.gz" @@ -887,6 +888,7 @@ function mcfost_update(lforce_update, lmanual, n_days) url = trim(webpage)//"mcfost_macOS-X64.tar.gz" url_sha1 = trim(webpage)//"mcfost_macOS-X64.sha1" endif + write(*,*) "Your system is ", operating_system, "on ", architecture else write(*,*) "Unknown operating system : error 2" write(*,*) "Cannot download new binary" @@ -894,7 +896,6 @@ function mcfost_update(lforce_update, lmanual, n_days) return endif - write(*,*) "Your system is ", operating_system ! Download write(*,'(a32, $)') "Downloading the new version ..." @@ -948,7 +949,6 @@ function mcfost_update(lforce_update, lmanual, n_days) ! check where is the current binary call get_command_argument(0,current_binary) if (current_binary(1:1)/=".") then - write(*,'(a28, $)') "Locating current binary ..." cmd = "rm -rf which_mcfost_binary.txt && which "//trim(current_binary)// & " | awk '{print "//' "\"" $NF "\""'//"}' > which_mcfost_binary.txt"