changeset 1040:e267926631b6 draft

[contrib/peer2anonet/peer2anonet] bugfix (thanks talamon)
author d3v11 <d3v11@d3v11.ano>
date Thu, 18 Oct 2012 11:19:33 +0000
parents 0e3f482dc1c3
children 7d7befd08968
files contrib/peer2anonet/peer2anonet
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/peer2anonet/peer2anonet	Mon Oct 15 06:41:00 2012 +0000
+++ b/contrib/peer2anonet/peer2anonet	Thu Oct 18 11:19:33 2012 +0000
@@ -537,6 +537,8 @@
     [[ $(echo X`which tcpserver`) == X ]] && exit 1
     [[ $(echo X`which svscanboot`) == X ]] && echo '   fatal error: needs ./contrib/peer2anonet/peer2anonet --install-daemontools'
     [[ $(echo X`which svscanboot`) == X ]] && exit 1
+    [[ $(echo X`which tinydns`) == X ]] && echo '   fatal error: needs ./contrib/peer2anonet/peer2anonet --install-djbdns'
+    [[ $(echo X`which tinydns`) == X ]] && exit 1
 
     if [ -e /services/dnscache ]; then
         [ -e /etc/peer2anonet/dnscache.tar ] || ( cd /services ; echo "creating /etc/peer2anonet/dnscache.tar backup" ;\