gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r31726 - gnunet/contrib


From: gnunet
Subject: [GNUnet-SVN] r31726 - gnunet/contrib
Date: Tue, 24 Dec 2013 00:04:33 +0100

Author: grothoff
Date: 2013-12-24 00:04:33 +0100 (Tue, 24 Dec 2013)
New Revision: 31726

Modified:
   gnunet/contrib/gnunet-gns-import.sh
Log:
-fixes

Modified: gnunet/contrib/gnunet-gns-import.sh
===================================================================
--- gnunet/contrib/gnunet-gns-import.sh 2013-12-23 22:58:38 UTC (rev 31725)
+++ gnunet/contrib/gnunet-gns-import.sh 2013-12-23 23:04:33 UTC (rev 31726)
@@ -62,23 +62,23 @@
 PIN=72QC35CO20UJN1E91KPJFNT9TG4CLKAPB4VK9S3Q758S9MLBRKOG
 
 # Link short and private zones into master zone
-if (gnunet-namestore -z master-zone -D -n private -t PKEY | grep "PKEY: 
$PRIVATE" &>/dev/null)
+if (gnunet-namestore -z master-zone -D -n private -t PKEY | grep "PKEY: 
$PRIVATE" 1>/dev/null)
 then
-  :
+  echo "Private zone link exists, skipping"
 else
   gnunet-namestore -z master-zone -a -e never -n private -p -t PKEY -V 
$PRIVATE $options
 fi
-if (gnunet-namestore -z master-zone -D -n short -t PKEY | grep "PKEY: $SHORT" 
&>/dev/null)
+if (gnunet-namestore -z master-zone -D -n short -t PKEY | grep "PKEY: $SHORT" 
1>/dev/null)
 then
-  :
+  echo "Shorten zone link exists, skipping"
 else
   gnunet-namestore -z master-zone -a -e never -n short -p -t PKEY -V $SHORT 
$options
 fi
 
 # Link GNUnet's FCFS zone into master zone under label "pin"
-if (gnunet-namestore -z master-zone -D -n pin -t PKEY | grep "PKEY: $PIN" 
&>/dev/null)
+if (gnunet-namestore -z master-zone -D -n pin -t PKEY | grep "PKEY: $PIN" 
1>/dev/null)
 then
-  :
+  echo "Pin zone link exists, skipping"
 else
   gnunet-namestore -z master-zone -a -e never -n pin -p -t PKEY -V $PIN 
$options
 fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]