Skip to content
Snippets Groups Projects
Commit adeb979c authored by Bob Mottram's avatar Bob Mottram
Browse files

Check that mercurial gets installed

parent 71a86c76
No related branches found
No related tags found
No related merge requests found
......@@ -788,9 +788,15 @@ function install_xmpp_main {
apt-get -yq install lua-sec lua-bitop lua5.1 liblua5.1-dev
apt-get -yq install libidn11-dev libssl-dev lua-dbi-sqlite3
rm -rf /tmp/*
apt-get -yq mercurial
apt-get -yq install prosody
if [ ! -f /usr/bin/hg ]; then
echo $"Couldn't install mercurial"
exit 52825
fi
if [ ! -d /etc/prosody ]; then
echo $"ERROR: prosody does not appear to have installed. $CHECK_MESSAGE"
exit 52367
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment