rpmextract.sh 124 B

1234567
  1. #!/bin/sh
  2. if [ "$1" = "" -o ! -e "$1" ]; then
  3. echo "no package supplied" 1>&2
  4. exit 1
  5. fi
  6. rpm2cpio "$1" | bsdtar -xf -