chown $USER:nogroup $HOMEPATH/.public/.domtool
test -e $HOMEPATH/.domtool || \
test -L $HOMEPATH/.domtool || \
- ln -s $HOMEPATH/.public/.domtool $HOMEPATH/.domtool
-test -e $HOMEPATH/.domtool && chown $USER:nogroup $HOMEPATH/.domtool
+ sudo -u $USER ln -s $HOMEPATH/.public/.domtool $HOMEPATH/.domtool
# Gitweb hosting
test -L /var/cache/git/$USER || \
mkdir -p $MAILPATH/cur $MAILPATH/new $MAILPATH/tmp
echo -e "This email account is provided as a service for HCoop members." \
"\n\nTo learn how to use it, please visit the page" \
- "\n<http://wiki2.hcoop.net/MemberManual/Email> on our website."| \
+ "\n<http://wiki.hcoop.net/MemberManual/Email> on our website."| \
mail -s "Welcome to your HCoop email store" \
-e -a "From: postmaster@hcoop.net" \
real-$USER