3 # This script needs to be run with root rights.
4 if [ $UID -ne 0 ]; then
9 function printNotSupportedMessageAndExit() {
11 echo "Currently this script only works for distributions supporting apt-get."
12 echo "Please add support for your distribution."
17 function checkInstaller {
18 # apt-get - Debian based distributions
19 apt-get --version &> /dev/null
21 installDependenciesWithApt
25 printNotSupportedMessageAndExit
28 function installDependenciesWithApt {
29 # These are dependencies necessary for building WebKitEFL.
80 # These are dependencies necessary for running tests.