$OpenBSD: patch-installer_userscripts_users_common_sh,v 1.1.1.1 2009/02/16 09:44:38 ajacoutot Exp $
--- installer/userscripts/users_common.sh.orig	Wed Dec 24 15:50:33 2008
+++ installer/userscripts/users_common.sh	Sun Jan  4 15:27:56 2009
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 ZARAFA_LANG="${LC_MESSAGES:-en_EN}"
-PATH=/bin:/usr/local/bin:/usr/bin
+PATH=$PATH:${PREFIX}/bin
 
 if [ -z "${ZARAFA_USER_SCRIPTS}" ] ; then
     exec >&2
@@ -21,4 +21,4 @@ if [ -z "${ZARAFA_USER}" -a -z "${ZARAFA_STOREID}" ] ;
     exit 1
 fi
 
-find ${ZARAFA_USER_SCRIPTS} -maxdepth 1 -type f -perm -u=x -not -name \*~ -not -name \#\* -exec {} \;
+find ${ZARAFA_USER_SCRIPTS} -maxdepth 1 -type f -perm -u=x -and ! -name \*~ -and ! -name \#\* -exec {} \;
