OpenELEC/OpenELEC.tv — pull request #1499 by klopsknoedel (2012-11-24 18:31:41+00:00)
Title: checkdeps: APT-Support and checks for "sudo" on Debian, fixes Issue #1482

Ubuntu:
Checks if Aptitude is installed. If not, the user will be asked if he
wants to install the packages with apt-get OR if he wants to install
Aptitude and start the process again.

Debian:
Sudo is not installed by default. So the script checks if sudo is
present (maybe installed by the user befor). If not "su -c "
will be used.