Commit b86f13b
committed
Error out nicely if podman is not present
If podman is not installed we get the following unfriendly output:
[michele@rhel1]~/multicloud-gitops% ./pattern.sh
./pattern.sh: line 10: podman: command not found
./pattern.sh: line 10: podman: command not found
./pattern.sh: line 32: podman: command not found
Let's bail out and have a generic function to check for that in case
we need to add other requirements1 parent a4f9e6d commit b86f13b
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
0 commit comments