Changed awk to sed for debian/ubuntu systems

Ubuntu/Debian don't have the same awk syntax(?) as openSUSE, so I had to change from awk to sed.

I tested the sed match pattern on:
openSUSE 12.2
Debian 7
Ubuntu 12.04