@as, if you look at my specfile, you will note that I did not add that script as I think several sections are not necessary.
I had a look at my .bashrc after running the install.sh and noted that there are two additional lines added - a comment and the command source.
So what you are saying is that those added lines are not necessary because autojump.bash is already in place at /etc/profile.d/?
I will need to test this on another install and see if that is the case.
To be perfectly honest, I was very confused by the grep line and all the open/close brackets ... and had no clue what it was although I would have guess that it was searching for a matching file, autojump.bash.
If I need to trim the script down to what is basically writing the last two echo before echo "Done!", I could probably get away without the grep line. I just want to be sure that it doesn't get skipped.
But I'll do some test first. Thank you for your reply.
Except many people either don't read the "Additional Output" or regard it as an error message and panic.
A loop which parses /etc/passwd looking for uids of 500 and over and then editing each /home/<username>/.bashrc would be how I'd do it.
@kjpetrie, and how would that be done if you were to do it?
I think this is just a case of ensuring that if there are three or four users in the same computer, all of them would have their .bashrc sourced.