Skip to content

Commit

Permalink
Merge pull request #477 from jmpsec/arch-enroll-rpm
Browse files Browse the repository at this point in the history
Oneliner for RPM linux gets osquery by architecture
  • Loading branch information
javuto authored Aug 14, 2024
2 parents 774e18f + a0ce60b commit 64ec887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion environments/scripts.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ osquery_downloadable() {
local _DEB_ARCH=$(dpkg --print-architecture)
echo "https://osquery-packages.s3.amazonaws.com/deb/osquery_$_VER-1.linux_$_DEB_ARCH.deb"
elif [ "$_type" = "rpm" ]; then
echo "https://osquery-packages.s3.amazonaws.com/rpm/osquery-$_VER-1.linux.x86_64.rpm"
local _RPM_ARCH=$(uname -m)
echo "https://osquery-packages.s3.amazonaws.com/rpm/osquery-$_VER-1.linux.$_RPM_ARCH.rpm"
elif [ "$_type" = "pkg" ]; then
echo "https://osquery-packages.s3.amazonaws.com/darwin/osquery-$_VER.pkg"
fi
Expand Down

0 comments on commit 64ec887

Please # to comment.