jgstew / tools

various scripts and tools
MIT License
23 stars 14 forks source link

install_bigfix.sh is 64bit only, should be extended to other platforms #1

Closed jgstew closed 8 years ago

jgstew commented 8 years ago

needs improvement: https://github.com/jgstew/tools/blob/master/bash/install_bigfix.sh

Currently only AMD64 platforms are supported. Not only that, but the script will attempt to install the wrong agent on non-AMD64 platforms. This condition should at least fail more gracefully than attempting to install the wrong thing, but also, the script could be expanded to support other platforms.

command: uname -m Should return: x86_64 or amd64 for x64 intel (AMD64) machines.

Reference:

jgstew commented 8 years ago

Intel32 and AMD64 compatible CPUs are now handled properly by the script for the OSes supported.

PowerPC64 and other non-x86 architectures are not supported. I don't actually have a method to test those architectures.