From 078029a2391e9b9ff400ce1a5f7140c51858966d Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Mon, 1 Nov 2010 23:38:07 +0100 Subject: [PATCH] Do a more precise match to find out our UID --- citadel/debian/citadel-server.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citadel/debian/citadel-server.postinst b/citadel/debian/citadel-server.postinst index 5a1592a4d..d238ff90c 100644 --- a/citadel/debian/citadel-server.postinst +++ b/citadel/debian/citadel-server.postinst @@ -36,7 +36,7 @@ case "$1" in export CITADEL='/var/run/citadel' export CITADEL_PORT=504 export CITADEL_INSTALLER=yes - export CITADEL_UID=`grep citadel /etc/passwd | cut -d : -f 3` + export CITADEL_UID=`grep ^citadel: /etc/passwd | cut -d : -f 3` export ACT_AS_MTA=no export SYSADMIN_NAME=$admin export CREATE_XINETD_ENTRY=no -- 2.39.2