Metaswitch/clearwater-infrastructure — pull request #106 by steelyvoid (2014-11-17 12:12:46+00:00)
Title: Reviewer Andy - Use 14.04-specific version of package query function as required by diagnostics and login scripts 

Fixes the use of dpkg-query in the diags monitor and in the bash.bashrc script to allow for the fact that parameters are different on Ubuntu 14.04

Tested on both 12.04 and 14.04 systems to check that both scripts now do the right thing (i.e. set up PS1 with the node type and determine package info respectively)

(In response to Dougs comment below I said "I did try that, but it didn't work - the following egrep didn't pick up the required package names, presumably because the output from packages is not LF separated. Hence the explicit echo of the packages one at a time". For some reason, github has dropped my comments from this pull)