-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: resdb
action: commit
revision:
path_from:
revision_from: 4b82c1915075527acbb40719900d775fe53ffe69:
path_to:
revision_to:

git.thebackupbox.net

resdb

git://git.thebackupbox.net/resdb

commit 4b82c1915075527acbb40719900d775fe53ffe69
Author: Nick <nick@somerandomnick.ano>
Date:   Thu Nov 10 05:51:01 2011 +0000

    bugfix (thx Nomius)

diff --git a/scripts/nameserver_autogen/dnsmasq_tld_conffile b/scripts/nameserver_autogen/dnsmasq_tld_conffile

index b418ac17664a3c24b707b91e5473b2e1c02bb2ed..

index ..97aa10b48961eb41c989779759edc5a83d86f125 100755

--- a/scripts/nameserver_autogen/dnsmasq_tld_conffile
+++ b/scripts/nameserver_autogen/dnsmasq_tld_conffile
@@ -31,11 +31,13 @@ echo

 for tld in $($LS db/dom/); do
 	for domain in $($LS db/dom/${tld}/); do
-		if [ -d $($LS db/dom/${tld}/${domain}/ns/) ]; then
-			for ns in $($LS db/dom/${tld}/${domain}/ns/); do
-				STR="server=/${domain}.${tld}/$(scripts/ns2ip -f ${ns})"
-				echo $STR
-			done;
+		if [ -d $($LS -d db/dom/${tld}/${domain}/) ]; then
+			if [ -d $($LS -d db/dom/${tld}/${domain}/ns/) ]; then
+				for ns in $($LS db/dom/${tld}/${domain}/ns/); do
+					STR="server=/${domain}.${tld}/$(scripts/ns2ip -f ${ns})"
+					echo $STR
+				done;
+			fi
 		fi
 	done;
 done

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 14:00:22 2024