summaryrefslogtreecommitdiffstats
path: root/extra/rpmextract/rpmextract.sh
blob: 47ad01dfe1e17155bb4e615d27183ebdc310787b (plain)
1
2
3
4
5
6
#!/bin/sh
if [ "$1" = "" -o ! -e "$1" ]; then
    echo "no package supplied" 1>&2
   exit 1
fi
rpm2cpio $1 | bsdtar -xf -