commit 7c109122aeb3eb8af1564aea673061bb2eaf9879 parent 66ecc40ff550d5f613ec5f00b906b32be0f26fd3 Author: Martin Schanzenbach <schanzen@gnunet.org> Date: Thu, 7 Aug 2025 22:32:59 +0200 remove now unneeded script Diffstat:
| D | scripts/disseminators/taldir-disseminate-gns | | | 27 | --------------------------- |
1 file changed, 0 insertions(+), 27 deletions(-)
diff --git a/scripts/disseminators/taldir-disseminate-gns b/scripts/disseminators/taldir-disseminate-gns @@ -1,27 +0,0 @@ -#!/bin/bash - -set -eu - -# This is more portable than `which' but comes with -# the caveat of not(?) properly working on busybox's ash: -existence() -{ - type "$1" >/dev/null 2>&1 -} - -# FIXME this is the salted address. Do we external clients have the salt? -HS_ADDR=$1 -URI=$2 - -#TODO we need to get the identity/expiration from config -# this will require a taler-directory-config cli tool -EGO="taldir" -RD_EXP="1d" - - -if ! existence gnunet-namestore; then - echo "gnunet-namestore not found" - exit 1 -fi - -gnunet-namestore --add --name $HS_ADDR --type TXT --expiration $RD_EXP --value "$URI"