Explorar el Código

Check that toxid was built

Bob Mottram hace 8 años
padre
commit
9a526a9f26
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5
    1
      src/freedombone-app-tox

+ 5
- 1
src/freedombone-app-tox Ver fichero

@@ -497,8 +497,12 @@ make
497 497
 make install
498 498
 EOF
499 499
 
500
+	if [ ! -f $rootdir/usr/local/bin/toxid ]; then
501
+		echo $'toxid not found'
502
+		exit 74370
503
+	fi
500 504
 	if [ ! -f $rootdir/usr/local/bin/toxavahi ]; then
501
-	  exit 3621729
505
+		exit 3621729
502 506
 	fi
503 507
 	echo "* *     * * *   root    /usr/local/bin/toxavahi > /dev/null" >> $rootdir/etc/crontab
504 508
 }