Skip to content

Commit

Permalink
Update ubuntu.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jul 25, 2024
1 parent d3ce4a1 commit a629eea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/zabbix/versions/7.0/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}'`
Expand Down

0 comments on commit a629eea

Please sign in to comment.