[Slackbuilds-users] uids/gids

Biff Eros bifferos at gmail.com
Mon Mar 30 22:52:53 UTC 2020


On Mon, Mar 30, 2020 at 9:47 PM B Watson <yalhcru at gmail.com> wrote:
>
> On 3/30/20, Biff Eros <bifferos at gmail.com> wrote:
> > Thanks Willy!  I converted it to .ini file format in the end:
> > https://github.com/bifferos/afterpkg/blob/master/uid_gid.txt
>
> Out of curiosity... why do you need to parse uid_gid.txt?

I started off manually creating user/group creation scripts for
Afterpkg, looking a bit like this:
https://github.com/bifferos/afterpkg/blob/master/scripts/system/mongodb/before.sh
But then I realised it's much better to just auto-generate them, using
that file as a starting point.
It's going to save a lot of boiler-plate code.

cheers,
Biff.


More information about the SlackBuilds-users mailing list