sync

Backup service to store encrypted wallet databases (experimental)
Log | Files | Refs | Submodules | README | LICENSE

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

check first

Diffstat:
Mdebian/sync-httpd.postinst | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git 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) ;;