gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: invoking sudo on the right comma


From: gnunet
Subject: [taler-exchange] branch master updated: invoking sudo on the right command
Date: Wed, 06 Dec 2023 11:34:41 +0100

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

ms pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 655366c6 invoking sudo on the right command
655366c6 is described below

commit 655366c6a4dbc7e28ebab16f099fbf84f1b73138
Author: MS <ms@taler.net>
AuthorDate: Wed Dec 6 11:32:49 2023 +0100

    invoking sudo on the right command
---
 contrib/taler-exchange-dbconfig | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/contrib/taler-exchange-dbconfig b/contrib/taler-exchange-dbconfig
index 4449ce19..100b1c33 100755
--- a/contrib/taler-exchange-dbconfig
+++ b/contrib/taler-exchange-dbconfig
@@ -161,10 +161,9 @@ then
     do
         if [ "$GROUPIE" != "$DBUSER" ]
         then
-            sudo -u "$DBUSER" \
-                 echo -e 'GRANT SELECT,INSERT,UPDATE ON ALL TABLES IN SCHEMA 
exchange TO "'"$GROUPIE"'";\n' \
-                         'GRANT USAGE ON ALL SEQUENCES IN SCHEMA exchange TO 
"'"$GROUPIE"'";\n' \
-                | psql "$DBNAME"
+            echo -e 'GRANT SELECT,INSERT,UPDATE ON ALL TABLES IN SCHEMA 
exchange TO "'"$GROUPIE"'";\n' \
+                    'GRANT USAGE ON ALL SEQUENCES IN SCHEMA exchange TO 
"'"$GROUPIE"'";\n' \
+                | sudo -u "$DBUSER" psql "$DBNAME"
         fi
     done
 fi

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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