Install the distribution's zeroinstall-injector package if required
commitd0e832dcddbc66fc06641dc04b1d89f70c4420cd
authorThomas Leonard <talex5@gmail.com>
Sat, 24 Jan 2009 13:07:38 +0000 (24 13:07 +0000)
committerThomas Leonard <talex5@gmail.com>
Sat, 24 Jan 2009 13:16:10 +0000 (24 13:16 +0000)
tree243cebb5dc91df4458bed4546d14663cc8a9f276
parentccb196583d66ebfbf8c45cc195692abf389f1ee7
Install the distribution's zeroinstall-injector package if required

If the user asks to add the program to their Applications menu then
we need to make sure 0launch is in $PATH.

So, if 0launch isn't in $PATH then install the distribution package if
we have gnome-terminal, sudo and apt-get. This works on Ubuntu, but will
need modifications for other systems.

If that fails, tell the user to install it manually.
install.py
unpacker.py