Quellcode durchsuchen

Get toxid repo from app script

Bob Mottram vor 8 Jahren
Ursprung
Commit
f1571e14d7
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      src/freedombone-image-customise

+ 2
- 2
src/freedombone-image-customise Datei anzeigen

@@ -768,9 +768,9 @@ function mesh_tox_avahi {
768 768
 	fi
769 769
 
770 770
 	if [ -f /usr/local/bin/${PROJECT_NAME} ]; then
771
-		TOXID_REPO_MAIN=$(cat /usr/local/bin/${PROJECT_NAME} | grep "TOXID_REPO=" | head -n 1 | awk -F '"' '{print $2}')
771
+		TOXID_REPO_MAIN=$(cat /usr/local/bin/${PROJECT_NAME}-app-tox | grep "TOXID_REPO=" | head -n 1 | awk -F '"' '{print $2}')
772 772
 	else
773
-		TOXID_REPO_MAIN=$(cat /usr/bin/${PROJECT_NAME} | grep "TOXID_REPO=" | head -n 1 | awk -F '"' '{print $2}')
773
+		TOXID_REPO_MAIN=$(cat /usr/bin/${PROJECT_NAME}-app-tox | grep "TOXID_REPO=" | head -n 1 | awk -F '"' '{print $2}')
774 774
 	fi
775 775
 	if [ ${#TOXID_REPO_MAIN} -gt 5 ]; then
776 776
 		TOXID_REPO=$TOXID_REPO_MAIN