From f1571e14d733b8c250c06d2f21f44b16e56b3e25 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 3 Jul 2016 17:34:45 +0100 Subject: [PATCH] Get toxid 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 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