-
Notifications
You must be signed in to change notification settings - Fork 3
Refactor the script #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Switch to bash (was already using bashisms) Update syntax. Fix shellcheck warnings.
e278e5a
to
4703b11
Compare
Reduces the need to have a2x installed for installation.
@fink/fink-developers the primary things to to test are that reboots are not required to use the newly created user with |
Version info is a placeholder for now. See fink/passwd#6.
@TheSin- it is walking through 600-699 looking for an unused GID as indicated by no output from |
|
must not be walking right?
|
Changed line 171 to use
|
Also fix a typo.
With the latest changes
so group looks good now! But user still failing. |
@TheSin- glad to hear that group is working. For the user stuff did you check in the Directory Utility app to see if there is any partially created users that it running into ( |
so looks like there is a user even then id says no ? just no id for it. |
deleted the user in Directory Utility and then re ran the install, now it's partially added again with no ID like before
|
@TheSin- try changing the id range in the config file to between 200 and 400. |
…with _. This is more strictly enforced in later versions of macos.
dsimport has less usage restrictions but is easier to shoot yourself in the foot with.
With the current changes
|
I'm not sure the group is getting set right? I'd assume the primary group for Redis would be Redis
But I was able to use it without a reboot, I'm going to try and build and install Redis now to make sure. |
According to Directory Utility Redis's primaryGroupID is 601 so odd redis built and installed without a reboot!!! I do not see new users in the fast switching menu, I'm going to reboot now to make sure. Was there anything else to test? |
I would assume that since you (as a normal user) ran |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested and looking perfect to me.
This is very important for 10.13+ and should be adopted immediately IMHO. We should also use this code during bootstrapping for fink-bld
.
then that is my own ignorance with |
Switch to bash (was already using bashisms)
Update syntax.
Fix shellcheck warnings.
Tarball for testing (see fink/fink-distributions#1031 for updated info files).