> Wouldn't it be easier to always work the same at install time ? Always
> use useradd and the reduced set of common options ? And code the rest
> (or re-use code from another app). Just a suggestion of course.
As I mentioned in my previous mail, we want to be able to use adduser's
nice --system option if it exists (which is required by policy on Debian
and Ubuntu and useradd doesn't have it and the LSB workgroup has no
motivation to add it). So if it's there we use it, if not we fall back on
useradd.
> BTW, my code rather reads:
> if which adduser; then
> adduser --gecos "{$PROJECT}" --ingroup {$PROJECTGROUP} --system \
> --shell /bin/bash --home "$\{REPO%/*\}" {$PROJECTUSER}
> else
> useradd -c "{$PROJECT}" -g {$PROJECTGROUP} -m \
> -s /bin/bash -d "$\{REPO%/*\}" {$PROJECTUSER}
> fi
> (SVN tree as of now).
> Do I miss a patch ?
Yes, it looks like you don't have the final 1.0.0 bits. Here's what the
released fo-postinstall looks like
http://tinyurl.com/bbq7bg
--
Matt Taggart
[email protected]
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology