From 68ad1e07a5384ff2646ebf2663552011976076ad Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 3 Jul 2016 17:33:52 +0100 Subject: [PATCH] Get toxcore repo from app script --- src/freedombone-image-customise | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index df4f32ad..d5638f65 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -653,9 +653,9 @@ function mesh_tox_node { fi if [ -f /usr/local/bin/${PROJECT_NAME} ]; then - TOXCORE_REPO_MAIN=$(cat /usr/local/bin/${PROJECT_NAME} | grep "TOXCORE_REPO=" | head -n 1 | awk -F '"' '{print $2}') + TOXCORE_REPO_MAIN=$(cat /usr/local/bin/${PROJECT_NAME}-app-tox | grep "TOXCORE_REPO=" | head -n 1 | awk -F '"' '{print $2}') else - TOXCORE_REPO_MAIN=$(cat /usr/bin/${PROJECT_NAME} | grep "TOXCORE_REPO=" | head -n 1 | awk -F '"' '{print $2}') + TOXCORE_REPO_MAIN=$(cat /usr/bin/${PROJECT_NAME}-app-tox | grep "TOXCORE_REPO=" | head -n 1 | awk -F '"' '{print $2}') fi if [ ${#TOXCORE_REPO_MAIN} -gt 10 ]; then TOXCORE_REPO=$TOXCORE_REPO_MAIN