diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index d5638f65..8a0b6415 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -768,9 +768,9 @@ function mesh_tox_avahi { fi if [ -f /usr/local/bin/${PROJECT_NAME} ]; then - TOXID_REPO_MAIN=$(cat /usr/local/bin/${PROJECT_NAME} | grep "TOXID_REPO=" | head -n 1 | awk -F '"' '{print $2}') + TOXID_REPO_MAIN=$(cat /usr/local/bin/${PROJECT_NAME}-app-tox | grep "TOXID_REPO=" | head -n 1 | awk -F '"' '{print $2}') else - TOXID_REPO_MAIN=$(cat /usr/bin/${PROJECT_NAME} | grep "TOXID_REPO=" | head -n 1 | awk -F '"' '{print $2}') + TOXID_REPO_MAIN=$(cat /usr/bin/${PROJECT_NAME}-app-tox | grep "TOXID_REPO=" | head -n 1 | awk -F '"' '{print $2}') fi if [ ${#TOXID_REPO_MAIN} -gt 5 ]; then TOXID_REPO=$TOXID_REPO_MAIN