diff --git a/src/Misc/layoutbin/installdependencies.sh b/src/Misc/layoutbin/installdependencies.sh index fb469ced5c..cd2ed3adef 100644 --- a/src/Misc/layoutbin/installdependencies.sh +++ b/src/Misc/layoutbin/installdependencies.sh @@ -52,13 +52,6 @@ function print_rhel6depricationmessage() echo "You can check supported OS on the following documentation: https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md" } -function print_banner() -{ - echo "--------$1--------" - echo $2 - echo "------------------------------" -} - if [ -e /etc/os-release ] then filepath='/etc/os-release' @@ -327,7 +320,9 @@ then elif [ -e /etc/azurelinux-release ] then echo "The current OS is Azure Linux based" - print_banner "Azure Linux Version" $(cat /etc/azurelinux-release) + echo "--------Azure Linux Version--------" + cat /etc/azurelinux-release + echo "------------------------------" command -v tdnf if [ $? -eq 0 ]