|
@@ -426,6 +426,7 @@ function install_tox_client {
|
426
|
426
|
}
|
427
|
427
|
|
428
|
428
|
function mesh_tox_node {
|
|
429
|
+ SECONDS=0
|
429
|
430
|
# obtain commits from the main file
|
430
|
431
|
TOXCORE_COMMIT_MAIN=$(grep "TOXCORE_COMMIT=" "/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-tox" | head -n 1 | awk -F "'" '{print $2}')
|
431
|
432
|
if [ ${#TOXCORE_COMMIT_MAIN} -gt 10 ]; then
|
|
@@ -533,7 +534,6 @@ EOF
|
533
|
534
|
systemctl enable tox-bootstrapd.service
|
534
|
535
|
fi
|
535
|
536
|
|
536
|
|
- SECONDS=0
|
537
|
537
|
if [ ! -f "$rootdir/usr/local/bin/tox-bootstrapd" ]; then
|
538
|
538
|
duration=$SECONDS
|
539
|
539
|
echo $"Toxcore compile failed at $((duration / 60)) minutes and $((duration % 60)) seconds elapsed."
|