1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/archivers/rpmextract/rpmextract.sh

9 lines
139 B
Bash
Raw Normal View History

2014-10-20 00:16:24 +01:00
#!/bin/sh
if [ "$1" = "" ]; then
echo "usage: rpmextract package_name" 1>&2
exit 1
fi
@rpm@/bin/rpm2cpio "$1" | @cpio@/bin/cpio -idv