This commit is contained in:
dami 2026-07-20 23:48:18 +08:00
parent 87123c526a
commit 9c2e9627ec
2 changed files with 6 additions and 1 deletions

View File

@ -76,6 +76,11 @@ Install_app()
if [ -f $shell_file ];then
bash -x $shell_file
if [ "$?" == "0" ];then
echo '不支持...'
exit 1
fi
else
echo '不支持...'
exit 1

View File

@ -13,7 +13,7 @@ SYS_ARCH=`arch`
if [ "$SYS_ARCH" != "x86_64" ];then
echo "no support"
exit 0
exit 1
fi
SYS_VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'`