-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
init: Fix sudo message on Ubuntu #2532
Conversation
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.
Can you please add a comment to the code explaining what it is about, so that one does not have to go all the way to the GitHub issue to see reasoning for this?
Advantages of new file versus copying the file is not clear to me. Either one works at this point I guess.
The Black reformat is unfortunate, but given your plans to restructure grass.py, I think it is fine to leave it here although it unrelated.
Added a massive explanation 😛 |
Create <mapset>/.sudo_as_admin_successful when $HOME/.sudo_as_admin_successful exists to avoid message about sudo for the a Bash instance for each session. Contains several unrelated Black changes. Fixes OSGeo#753.
Create <mapset>/.sudo_as_admin_successful when $HOME/.sudo_as_admin_successful exists to avoid message about sudo for the a Bash instance for each session. Contains several unrelated Black changes. Fixes OSGeo#753.
Create <mapset>/.sudo_as_admin_successful when $HOME/.sudo_as_admin_successful exists to avoid message about sudo for the a Bash instance for each session. Contains several unrelated Black changes. Fixes OSGeo#753.
Create <mapset>/.sudo_as_admin_successful when $HOME/.sudo_as_admin_successful exists to avoid message about sudo for the a Bash instance for each session. Contains several unrelated Black changes. Fixes OSGeo#753.
Fixes #753 by creating
<mapset>/.sudo_as_admin_successful
when$HOME/.sudo_as_admin_successful
exists