1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00

Remove -m from "pw useradd" command to prevent creation of /usr/home

Noticed by: YAPHR
This commit is contained in:
Edwin Groothuis 2007-09-09 00:55:48 +00:00
parent 436e16b167
commit a553e7e7de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199141
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= iserverd
PORTVERSION= 2.5.5
PORTREVISION= 1
CATEGORIES= net-im
MASTER_SITES= http://iserverd.khstu.ru/download/
DISTNAME= IServerd-stable

View File

@ -26,7 +26,7 @@ POST-INSTALL)
echo "You already have a user \"${USER}\", so I will use it."
else
if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
-d /var/spool/iserv -m -s /bin/sh -c "iserverd user"
-d /var/spool/iserv -s /bin/sh -c "iserverd user"
then
echo "Added user \"${USER}\"."
else