repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git]
/
rpm-org
/
rpmextract.sh
blob
47ad01dfe1e17155bb4e615d27183ebdc310787b
1
#!/bin/sh
2
if
[
"
$1
"
=
""
-o
!
-e
"
$1
"
];
then
3
echo
"no package supplied"
1
>&
2
4
exit
1
5
fi
6
rpm2cpio
$1
| bsdtar
-xf
-