Skip to content
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

Fixes #14938: Patching network.sh for debian10 broke it for older OS #164

Conversation

Fdall
Copy link
Contributor

@Fdall Fdall commented May 22, 2019

@Normation-Quality-Assistant

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 68899b9 into Normation:master May 22, 2019
then
cat /etc/debian_version | grep -q "10\."
retcode=$?
if [ "$retcode" = "0" ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 lines for this:
if grep -q "10." /etc/debian_version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants