Browse Source

Get toxcore repo from app script

Bob Mottram 8 years ago
parent
commit
68ad1e07a5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone-image-customise

+ 2
- 2
src/freedombone-image-customise View File

653
 	fi
653
 	fi
654
 
654
 
655
 	if [ -f /usr/local/bin/${PROJECT_NAME} ]; then
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
 	else
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
 	fi
659
 	fi
660
 	if [ ${#TOXCORE_REPO_MAIN} -gt 10 ]; then
660
 	if [ ${#TOXCORE_REPO_MAIN} -gt 10 ]; then
661
 		TOXCORE_REPO=$TOXCORE_REPO_MAIN
661
 		TOXCORE_REPO=$TOXCORE_REPO_MAIN