PKGBUILDs/extra/rpmextract/rpmextract.sh

7 lines
122 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
#!/bin/sh
if [ "$1" = "" -o ! -e "$1" ]; then
echo "no package supplied" 1>&2
exit 1
fi
rpm2cpio $1 | bsdtar -xf -