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

Ensures availability of unzip & yq; Updates yq commands for v4 #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

miyamotoh
Copy link
Collaborator

Fixes #50, tested on RHEL 8.4 on ppc64le

Signed-off-by: Hiro Miyamoto [email protected]

@miyamotoh miyamotoh self-assigned this Oct 5, 2021
fi

which unzip 2>&1 >/dev/null || yum -y install unzip
Copy link

Choose a reason for hiding this comment

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

nit hash also tests for the existence of an executable and also updates bash's cache of where programs are located.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

While refreshing bash's cache with a new search may not be much, I like hash is silent in stdout, and I wouldn't have to do the >/dev/null thing. Will update my PR.

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.

setup_nfs_provisioner not fully automated
2 participants