update
This commit is contained in:
parent
87123c526a
commit
9c2e9627ec
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}'`
|
||||
|
|
|
|||
Loading…
Reference in New Issue