gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: check first


From: gnunet
Subject: [taler-anastasis] branch master updated: check first
Date: Sat, 09 Sep 2023 15:43:39 +0200

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

grothoff pushed a commit to branch master
in repository anastasis.

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

commit 0f150d3c755c820615e9b976fb6ad67eeb73cd99
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Sep 9 15:43:37 2023 +0200

    check first
---
 debian/anastasis-httpd.postinst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/anastasis-httpd.postinst b/debian/anastasis-httpd.postinst
index 9f65341..03cd45a 100644
--- a/debian/anastasis-httpd.postinst
+++ b/debian/anastasis-httpd.postinst
@@ -31,9 +31,13 @@ configure)
     adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home 
${ANASTASIS_HOME} ${_USERNAME}
   fi
 
-  dpkg-statoverride --add --update \
+  if ! dpkg-statoverride --list 
/etc/anastasis/secrets/anastasis-db.secret.conf >/dev/null 2>&1;
+  then
+    dpkg-statoverride --add --update \
       anastasis-httpd root 460 \
       /etc/anastasis/secrets/anastasis-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]