Install tox clients on client mesh install
This commit is contained in:
parent
b58a40c484
commit
082d023799
|
@ -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'
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue