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

Fix bug while detecting dependencies on Debian/Ubuntu systems, iff rpm is installed #732

Merged

Conversation

besserox
Copy link
Contributor

This fix a corner case with
ajdecon/easybuild-easyconfigs@d143572

if run_cmd('which dpkg', simple=True, log_ok=False):
cmd = "dpkg -s %s" % dep
else:
cmd = "exit 1"
Copy link
Member

Choose a reason for hiding this comment

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

don't repeat this in multiple places, set this as the first value for cmd, i.e. on line 461 (above the debian and ubuntu if clause)

@besserox
Copy link
Contributor Author

Updated. Is it what you wanted?

@boegel
Copy link
Member

boegel commented Nov 1, 2013

@besserox: Thanks for the cleanup, looks excellent now. Merging it in!

boegel added a commit that referenced this pull request Nov 1, 2013
Fix bug while detecting dependencies on Debian/Ubuntu systems, iff rpm is installed
@boegel boegel merged commit 1a00d36 into easybuilders:develop Nov 1, 2013
@besserox besserox deleted the bugfix_osdependencies_detection branch November 1, 2013 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants