Tweaked sed invocation to actually update file. Derp.
Removed global installation of adb and fastboot.