install.sh fails to detect which architecture the build is running on
Build machine: Ubuntu 14.04 i386
When executing the scripts following the build instructions on the wiki to build LinuxMCE, the install.sh script fails to detect the correct architecture and prevents building further.
I think this may be due to apt/dpkg now supporting multi-arch.
There seems to be an easy workaround though, all I did was add an extra space at the end of the grep pattern to match only the main dpkg architecture line, rather than the compatible sub-architectures which were also being matched.
Please find attached patch attempting to work around the issue.
Thanks.