gnunet-svn
[Top][All Lists]
Advanced

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

[taler-sync] branch master updated: check first


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

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

grothoff pushed a commit to branch master
in repository sync.

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

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

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

diff --git a/debian/sync-httpd.postinst b/debian/sync-httpd.postinst
index ee402a1..8fcf255 100644
--- a/debian/sync-httpd.postinst
+++ b/debian/sync-httpd.postinst
@@ -31,10 +31,12 @@ configure)
     adduser --quiet --system --ingroup ${_GROUPNAME} --no-create-home --home 
${SYNC_HOME} ${_USERNAME}
   fi
 
-  dpkg-statoverride --add --update \
-    sync-httpd root 640 \
-    /etc/sync/secrets/sync-db.secret.conf
-
+  if ! dpkg-statoverride --list /etc/sync/secrets/sync-db.secret.conf 
>/dev/null 2>&1;
+  then
+      dpkg-statoverride --add --update \
+        sync-httpd root 640 \
+       /etc/sync/secrets/sync-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]