From 4905a7cb8f769a1ad6e9fc1805d7b9e38fdc95a3 Mon Sep 17 00:00:00 2001 From: zhengshuxin Date: Wed, 20 Sep 2023 19:00:34 +0800 Subject: [PATCH] Change "uname -p" to "uname -m" to guess the OS type of Unix. --- app/wizard/tmpl/http/setup.sh | 2 +- app/wizard/tmpl/master/setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/wizard/tmpl/http/setup.sh b/app/wizard/tmpl/http/setup.sh index 75fe10a3c..e9489b254 100755 --- a/app/wizard/tmpl/http/setup.sh +++ b/app/wizard/tmpl/http/setup.sh @@ -24,7 +24,7 @@ function compare_or_replace() { RPATH= function guess_os() { os_name=`uname -s` - os_type=`uname -p` + os_type=`uname -m` case $os_name in Linux) case $os_type in diff --git a/app/wizard/tmpl/master/setup.sh b/app/wizard/tmpl/master/setup.sh index 75fe10a3c..e9489b254 100755 --- a/app/wizard/tmpl/master/setup.sh +++ b/app/wizard/tmpl/master/setup.sh @@ -24,7 +24,7 @@ function compare_or_replace() { RPATH= function guess_os() { os_name=`uname -s` - os_type=`uname -p` + os_type=`uname -m` case $os_name in Linux) case $os_type in