Commit 69af6cc
committed
import_srpm: check command rpm2cpio|cpio
`rpm2cpio` might not exist on the system, and `cpio` return the error
"premature end of archive" in that case.
This doesn't check if `rpm2cpio` returns an error but it's probably ok
to lean on `cpio` returning an error.
Signed-off-by: Anthony PERARD <anthony.perard@vates.tech>1 parent 47b4417 commit 69af6cc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments