[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 02/02: check if user exists before creating it
From: |
gnunet |
Subject: |
[libeufin] 02/02: check if user exists before creating it |
Date: |
Thu, 28 Jan 2021 21:52:56 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit b9bb838ec55e9a6cf78c17ecc96827a1ef16e27b
Author: MS <ms@taler.net>
AuthorDate: Thu Jan 28 21:52:48 2021 +0100
check if user exists before creating it
---
debian/libeufin.postinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/libeufin.postinst b/debian/libeufin.postinst
index b4274ac..282ce83 100644
--- a/debian/libeufin.postinst
+++ b/debian/libeufin.postinst
@@ -4,7 +4,7 @@ set -e
case "${1}" in
configure)
- useradd --no-create-home --system libeufin
+ if ! id libeufin &> /dev/null; then useradd --no-create-home --system
libeufin; fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.