diff --git a/plugins/zabbix/versions/7.0/ubuntu.sh b/plugins/zabbix/versions/7.0/ubuntu.sh index 1a41eef6f..01ea17a36 100644 --- a/plugins/zabbix/versions/7.0/ubuntu.sh +++ b/plugins/zabbix/versions/7.0/ubuntu.sh @@ -9,9 +9,10 @@ rootPath=$(dirname "$rootPath") serverPath=$(dirname "$rootPath") sourcePath=${serverPath}/source sysName=`uname` +sysArch=`arch` install_tmp=${rootPath}/tmp/mw_install.pl ubuntu_suffix= -if [ "$SYS_ARCH" == "aarch64" ];then +if [ "$sysArch" == "aarch64" ];then ubuntu_suffix="-arm64" fi SYS_VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'`