|
@@ -653,9 +653,9 @@ function mesh_tox_node {
|
653
|
653
|
fi
|
654
|
654
|
|
655
|
655
|
if [ -f /usr/local/bin/${PROJECT_NAME} ]; then
|
656
|
|
- TOXCORE_REPO_MAIN=$(cat /usr/local/bin/${PROJECT_NAME} | grep "TOXCORE_REPO=" | head -n 1 | awk -F '"' '{print $2}')
|
|
656
|
+ TOXCORE_REPO_MAIN=$(cat /usr/local/bin/${PROJECT_NAME}-app-tox | grep "TOXCORE_REPO=" | head -n 1 | awk -F '"' '{print $2}')
|
657
|
657
|
else
|
658
|
|
- TOXCORE_REPO_MAIN=$(cat /usr/bin/${PROJECT_NAME} | grep "TOXCORE_REPO=" | head -n 1 | awk -F '"' '{print $2}')
|
|
658
|
+ TOXCORE_REPO_MAIN=$(cat /usr/bin/${PROJECT_NAME}-app-tox | grep "TOXCORE_REPO=" | head -n 1 | awk -F '"' '{print $2}')
|
659
|
659
|
fi
|
660
|
660
|
if [ ${#TOXCORE_REPO_MAIN} -gt 10 ]; then
|
661
|
661
|
TOXCORE_REPO=$TOXCORE_REPO_MAIN
|