Check that xulrunner-1.9-dev is installed ahead of time

On Debian and Ubuntu, if xulrunner-1.9-dev is not installed before starting jhbuild,
then things will break in mysterious ways, so check for that at the end of
gnome-shell-build-setup.sh.

Patch from Sander Dijkhuis.


svn path=/trunk/; revision=54
This commit is contained in:
Owen Taylor 2008-11-18 00:45:32 +00:00
parent bc2cb8fb62
commit 0c9468f139

View File

@ -47,5 +47,13 @@ if test "x`echo $PATH | grep $HOME/bin`" = x; then
echo
fi
system=`lsb_release -is`
if test x$system = xUbuntu -o x$system = xDebian ; then
if dpkg --status xulrunner-1.9-dev > /dev/null 2>&1; then : ; else
echo "Please run, as root, 'apt-get install xulrunner-1.9-dev' before building gnome-shell."
echo
fi
fi
echo "Done."