diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 32486050..52bd60bb 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -627,9 +627,9 @@ function mesh_firewall { function mesh_tox_node { # obtain commits from the main file if [ -f /usr/local/bin/${PROJECT_NAME} ]; then - TOXCORE_COMMIT_MAIN=$(cat /usr/local/bin/${PROJECT_NAME} | grep "TOXCORE_COMMIT=" | head -n 1 | awk -F "'" '{print $2}') + TOXCORE_COMMIT_MAIN=$(cat /usr/local/bin/${PROJECT_NAME}-app-tox | grep "TOXCORE_COMMIT=" | head -n 1 | awk -F "'" '{print $2}') else - TOXCORE_COMMIT_MAIN=$(cat /usr/bin/${PROJECT_NAME} | grep "TOXCORE_COMMIT=" | head -n 1 | awk -F "'" '{print $2}') + TOXCORE_COMMIT_MAIN=$(cat /usr/bin/${PROJECT_NAME}-app-tox | grep "TOXCORE_COMMIT=" | head -n 1 | awk -F "'" '{print $2}') fi if [ ${#TOXCORE_COMMIT_MAIN} -gt 10 ]; then TOXCORE_COMMIT=$TOXCORE_COMMIT_MAIN