Skip to content

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

@andreas-roehler

Description

@andreas-roehler

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions