1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/tools/archivers/rpmextract/rpmextract.sh
2014-10-20 03:16:24 +04:00

9 lines
139 B
Bash

#!/bin/sh
if [ "$1" = "" ]; then
echo "usage: rpmextract package_name" 1>&2
exit 1
fi
@rpm@/bin/rpm2cpio "$1" | @cpio@/bin/cpio -idv