repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
darktable: fix builds on macOS (#372522)
[NixPkgs.git]
/
pkgs
/
by-name
/
rp
/
rpmextract
/
rpmextract.sh
blob
6ebfa251955d489c8e702f8ceb0533d37ef8ccdc
1
#!@shell@ -e
2
3
if
[
"
$1
"
=
""
];
then
4
echo
"usage: rpmextract package_name..."
1
>&
2
5
exit
1
6
fi
7
8
for
i
in
"$@"
;
do
9
@rpm@
/
bin
/
rpm2cpio
"
$i
"
| @
cpio
@
/
bin
/
cpio
-idv
10
done