Lars,

Thanks.  I probably copied that from someone else's package, not
realizing the problems with it.  Now that I'm aware of this class of
error, I'll be on the lookout for it elsewhere in my packages.

On Sun, 2005-09-11 at 00:10 +0300, Lars Wirzenius wrote:
> The postinst does this:
> 
> adduser --system --home /var/run/xpilot-ng-server --group \
>   --shell /bin/sh --disabled-password xpilotng >/dev/null 2>&1

I've changed that to this in my 4.7.1+cvs package (which, if the 4.7.2
release comes out soon, I will supercede with 4.7.2 before uploading):

# create xpilotng user/group if they do not exist
if [ "$1" = "configure" ] && ! getent passwd | grep -q "^xpilotng:";
then
    echo "Adding xpilotng group and user..."
    adduser --quiet --system --home /var/run/xpilot-ng-server --group \
       --shell /bin/sh --disabled-password xpilotng || true
fi

I'm working with upstream on the 4.7.2 release, which we should have
ready in a few days.

Ben



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to