Install tox clients on client mesh install

This commit is contained in:
Bob Mottram 2016-05-28 20:13:11 +01:00
parent b58a40c484
commit 082d023799
2 changed files with 16 additions and 0 deletions

View File

@ -191,6 +191,9 @@ configure_ssh_client
configure_monkeysphere configure_monkeysphere
if [[ $MESH_CLIENT_INSTALL == $'yes' || $MESH_CLIENT_INSTALL == $'y' || $MESH_CLIENT_INSTALL == $'on' ]]; then if [[ $MESH_CLIENT_INSTALL == $'yes' || $MESH_CLIENT_INSTALL == $'y' || $MESH_CLIENT_INSTALL == $'on' ]]; then
echo $'Installing mesh packages' echo $'Installing mesh packages'
${PROJECT_NAME}-mesh-install -f mesh_tox_node
${PROJECT_NAME}-mesh-install -f mesh_tox_client
${PROJECT_NAME}-mesh-install -f qtox
${PROJECT_NAME}-mesh-install -f batman_client ${PROJECT_NAME}-mesh-install -f batman_client
fi fi
echo $'Configuration complete' echo $'Configuration complete'

View File

@ -620,6 +620,16 @@ function mesh_tox_client {
fi fi
} }
function mesh_tox_client_qtox {
sudo sh -c 'echo "deb https://pkg.tox.chat/debian/ nightly release" > /etc/apt/sources.list.d/tox.list'
wget -qO - https://pkg.tox.chat/debian/pkg.gpg.key | sudo apt-key add -
sudo apt-get -y install apt-transport-https
sudo apt-get -y update -qq
echo "qTox Repository Installed."
sudo apt-get -y install qtox
echo "qTox Installed."
}
function mesh_zeronet { function mesh_zeronet {
# obtain commits from the main file # obtain commits from the main file
if [ -f /usr/local/bin/${PROJECT_NAME} ]; then if [ -f /usr/local/bin/${PROJECT_NAME} ]; then
@ -1059,5 +1069,8 @@ fi
if [[ $FN == 'zeronet' ]]; then if [[ $FN == 'zeronet' ]]; then
mesh_zeronet mesh_zeronet
fi fi
if [[ $FN == 'qtox' ]]; then
mesh_tox_client_qtox
fi
exit 0 exit 0