Designed to mitigate the vulnerability of "engineers" who run wget-sudo pipes.
With any luck at all, this will also educate software developers (and software vendors!) to stop instructing users to install software with wget-sudo pipes.
wget -q -O - http://jlk.github.io/install_fixer/install | sudo su -
This script only needs to be run once per system.
Screencast - don't say you weren't warned
This is designed to be run in Production.
This code has been tested on the latest version of Ubuntu. The author feels other platforms probably don't need to be tested.
This software is licensed under the Apache Software License 2.0. See LICENSE for details.
Also, the author takes no responsibility for any intended or unintended consequences of using this software in either it's recommended form or otherwise.
Review open source software before you execute it.
Especially if you're going to execute it as root.
Pull requests accepted! :)