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

Calling ‘rpm -i’ might fail at some Linux #53

Open
andreas-roehler opened this issue Jan 28, 2022 · 1 comment
Open

Calling ‘rpm -i’ might fail at some Linux #53

andreas-roehler opened this issue Jan 28, 2022 · 1 comment

Comments

@andreas-roehler
Copy link
Contributor

Scripts in directory ‘podman_cli’ check for an installed podman
calling ‘rpm -i’. As not all Linux systems have rpm installed, that
might fail. Suggest to use POSIX command ‘type’ instead.

There is also an error WRT test in following line. Replace double
brackets by single one.

Example error when running podman_pause_unpause.sh:

./podman_pause_unpause.sh: 24: rpm: not found
./podman_pause_unpause.sh: 25: [[: not found

@rhatdan
Copy link
Member

rhatdan commented Jan 28, 2022

Please open an PR to fix the way you want.

rhatdan added a commit that referenced this issue Jan 31, 2022
#53, Calling ‘rpm -i’ might fail at some Linux
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

No branches or pull requests

2 participants