#!/bin/sh set -e if [ $# -lt 1 ]; then echo "Must supply an RPM file" >&2 exit 1 fi rpm2cpio "$1" | cpio --extract --make-directories