From 1258f5b1f7c05eae2bd582348f51fd281f0ac6f6 Mon Sep 17 00:00:00 2001 From: Jaehwa Noh Date: Thu, 4 Apr 2024 19:53:20 +0900 Subject: [PATCH 1/2] Add Others OS instruction in documentation. Change-Id: I96be572051558d89e004187534da96a7b01a78ea --- generateModuleGraphs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generateModuleGraphs.sh b/generateModuleGraphs.sh index fb2d747120..9b86287a08 100755 --- a/generateModuleGraphs.sh +++ b/generateModuleGraphs.sh @@ -28,6 +28,7 @@ then echo "Installation instructions:" echo " - On macOS: You can install Graphviz using Homebrew with the command: 'brew install graphviz'" echo " - On Ubuntu: You can install Graphviz using APT with the command: 'sudo apt-get install graphviz'" + echo " - Others: Visit https://graphviz.org/download/" exit 1 fi @@ -105,4 +106,4 @@ echo "$module_paths" | while read -r module_path; do # Remove the temporary .gv file rm "/tmp/${file_name}.gv" fi -done \ No newline at end of file +done From f7894fec25ec5b82c5193516b173c4fc80cbcdc1 Mon Sep 17 00:00:00 2001 From: Jaehwa Noh Date: Thu, 4 Apr 2024 19:54:53 +0900 Subject: [PATCH 2/2] Change apt-get to apt according to [documentation](https://graphviz.org/download/) Change-Id: I0c00ce50d6bce83de79b5612021822691090cb6f --- generateModuleGraphs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generateModuleGraphs.sh b/generateModuleGraphs.sh index 9b86287a08..79cf786b04 100755 --- a/generateModuleGraphs.sh +++ b/generateModuleGraphs.sh @@ -27,7 +27,7 @@ then echo "The 'dot' command is not found. This is required to generate SVGs from the Graphviz files." echo "Installation instructions:" echo " - On macOS: You can install Graphviz using Homebrew with the command: 'brew install graphviz'" - echo " - On Ubuntu: You can install Graphviz using APT with the command: 'sudo apt-get install graphviz'" + echo " - On Ubuntu: You can install Graphviz using APT with the command: 'sudo apt install graphviz'" echo " - Others: Visit https://graphviz.org/download/" exit 1 fi