From 27b5fd6b1038cabe575c85b9d57984049cc9e311 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Tue, 21 Aug 2012 18:20:59 +0000 Subject: [PATCH] Bugfix du home de vmail --- debian/alternc.postinst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/alternc.postinst b/debian/alternc.postinst index 455aade6..a3d26507 100644 --- a/debian/alternc.postinst +++ b/debian/alternc.postinst @@ -54,11 +54,11 @@ case "$1" in addgroup --gid 1998 vmail fi if ! getent passwd vmail; then - useradd -g vmail -u 1998 vmail -d $VMAIL_HOME/mail -m + useradd -g vmail -u 1998 vmail -d "$VMAIL_HOME"/mail -m fi - chown -R vmail:vmail $VMAIL_HOME/mail - chmod u+w $VMAIL_HOME/mail - chmod -R g+w $VMAIL_HOME/mail + chown -R vmail:vmail "$VMAIL_HOME"/mail + chmod u+w "$VMAIL_HOME"/mail + chmod -R g+w "$VMAIL_HOME"/mail # build local.sh if it does not exist if [ ! -f $CONFIGFILE ]; then