diff --git a/add-new-sites.sh b/add-new-sites.sh index b4db04c..318cf38 100755 --- a/add-new-sites.sh +++ b/add-new-sites.sh @@ -1,6 +1,8 @@ #!/bin/sh while read category scheme onion_address proof_url title ; do + test x$category = x && continue + if [ ! -d "directory/$category" ] ; then echo oops: bad category $category for $onion_address exit 1 @@ -21,9 +23,14 @@ while read category scheme onion_address proof_url title ; do echo $proof_url >$dir/proof echo $scheme://$onion_address/ >$dir/urls # add more by hand, later done <