소스 검색

Check that toxid was built

Bob Mottram 8 년 전
부모
커밋
9a526a9f26
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5
    1
      src/freedombone-app-tox

+ 5
- 1
src/freedombone-app-tox 파일 보기

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