-
Notifications
You must be signed in to change notification settings - Fork 303
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
[FIX] 16/17: Proper ~root/.ssh pre-removal #588
[FIX] 16/17: Proper ~root/.ssh pre-removal #588
Conversation
Great, thanks for the fix. Good point using a regexp for indicating the versions, but better to be explicit and as brackets are used for separators, it seems weird that way. Please rephrase it to |
4b773ab
to
597b03e
Compare
Done 👌 Thank you! |
The explanation given in the first comment of the PR (which is pretty good) has not been put in the commit message. It's also better to use a neutral redaction avoiding first person. Something like:
|
The symlink to /opt/odoo/custom/ssh is still being created as sub-directory (/root/.ssh/ssh), getting an error when trying to build the Doodba image. Docker uses '/bin/sh' as default shell and '[[ ]]' is a specific comparison construct of Bash. Removing the brackets, now the symlinks to /opt/odoo/custom/ssh are being successfully created.
597b03e
to
9487571
Compare
Hello, Sorry I did not understand you at the first time. Now it is done 👍 . Thank you! |
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.
Good catch.
Hello,
I found that the symlink to /opt/odoo/custom/ssh still being created as sub-directory (/root/.ssh/ssh) so I got an error when I tried to build my Odoo image.
Docker uses "/bin/sh" as default shell and "[[ ]]" is a specific comparison construct of Bash.
I remove the brackets and now the symlinks to /opt/odoo/custom/ssh is being created succesfully.
Issue origin: #585
@pedrobaeza