gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: gnunet-gns-proxy-setup-ca: use shlib


From: gnunet
Subject: [gnunet] branch master updated: gnunet-gns-proxy-setup-ca: use shlib
Date: Mon, 25 Nov 2019 22:40:25 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 953c0fde2 gnunet-gns-proxy-setup-ca: use shlib
953c0fde2 is described below

commit 953c0fde25e5b47b378c535b91b648be93dfb871
Author: ng0 <address@hidden>
AuthorDate: Mon Nov 25 21:36:04 2019 +0000

    gnunet-gns-proxy-setup-ca: use shlib
---
 src/gns/gnunet-gns-proxy-setup-ca.in | 44 ++++--------------------------------
 1 file changed, 4 insertions(+), 40 deletions(-)

diff --git a/src/gns/gnunet-gns-proxy-setup-ca.in 
b/src/gns/gnunet-gns-proxy-setup-ca.in
index 256bb882b..e3f3f4852 100644
--- a/src/gns/gnunet-gns-proxy-setup-ca.in
+++ b/src/gns/gnunet-gns-proxy-setup-ca.in
@@ -46,14 +46,16 @@
 # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
 # OF SUCH DAMAGE.
 
-progname=${0##*/}
+. @pkgdatadir@/progname.sh
+. @pkgdatadir@/existence.sh
+. @pkgdatadir@/msg.sh
+. @pkgdatadir@/version_gnunet.sh
 
 # Whitespace normalization without depending on shell features:
 tab='   '
 tab2='   '
 nl='
 '
-# trap "exit 1" 1 2 3 15
 
 setdefaults()
 {
@@ -64,38 +66,6 @@ setdefaults()
     runcmd=
 }
 
-statusmsg()
-{
-    ${runcmd} echo "${tab}$@" | tee -a "${results}"
-}
-
-infomsg()
-{
-    if [ x$verbosity = x1 ]; then
-        statusmsg "INFO:${tab}$@"
-    fi
-}
-
-warningmsg()
-{
-    statusmsg "WARNING:${tab}$@"
-}
-
-errormsg()
-{
-    statusmsg "ERROR:${tab}$@"
-}
-
-linemsg()
-{
-    statusmsg "========================================="
-}
-
-existence()
-{
-    command -v "$1" >/dev/null 2>&1
-}
-
 usage()
 {
     if [ -n "$*" ]; then
@@ -244,12 +214,6 @@ importbrowsers()
     fi
 }
 
-print_version()
-{
-    GNUNET_ARM_VERSION=`gnunet-arm -v | awk '{print $2 " " $3}'`
-    echo ${progname} $GNUNET_ARM_VERSION
-}
-
 clean_up()
 {
     infomsg "Cleaning up."

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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