void-packages/srcpkgs/rpmextract/files/rpmextract
2013-08-17 13:28:56 +02:00

6 lines
124 B
Bash
Executable file

#!/bin/bash
if [ "$1" = "" -o ! -e "$1" ]; then
echo "no package supplied" 1>&2
exit 1
fi
rpm2cpio $1 | bsdtar -xf -