gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: check first


From: gnunet
Subject: [taler-merchant] branch master updated: check first
Date: Sat, 09 Sep 2023 15:42:41 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 47ad43f8 check first
47ad43f8 is described below

commit 47ad43f8184173afcb67d6fc4f0b0e8fbb965e08
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Sep 9 15:42:38 2023 +0200

    check first
---
 debian/taler-merchant.postinst | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/taler-merchant.postinst b/debian/taler-merchant.postinst
index 8f39eaf8..cac1355a 100644
--- a/debian/taler-merchant.postinst
+++ b/debian/taler-merchant.postinst
@@ -32,10 +32,12 @@ configure)
     adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home 
${TALER_HOME} ${_USERNAME}
   fi
 
-  dpkg-statoverride --add --update \
-    taler-merchant-httpd root 460 \
-    /etc/taler/secrets/merchant-db.secret.conf
-
+  if ! dpkg-statoverride --list /etc/taler/secrets/merchant-db.secret.conf 
>/dev/null 2>&1
+  then
+      dpkg-statoverride --add --update \
+         taler-merchant-httpd root 460 \
+         /etc/taler/secrets/merchant-db.secret.conf
+  fi
   ;;
 
 abort-upgrade | abort-remove | abort-deconfigure) ;;

-- 
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]