diff options
author | sibel <lesibel at free dot fr> | 2010-07-08 12:31:28 +0200 |
---|---|---|
committer | sibel <lesibel at free dot fr> | 2010-07-08 12:31:28 +0200 |
commit | aa7ce7edc786cab902e70e5e2d008422b877d998 (patch) | |
tree | a6a9dba2a0bcad11969119d2e3d6b53a3de13b4a /extra/rpmextract/rpmextract.sh | |
parent | e9a02cfb305833d8f3686cb6403b12311224fff0 (diff) | |
download | nutyx-pakxe-aa7ce7edc786cab902e70e5e2d008422b877d998.tar.gz nutyx-pakxe-aa7ce7edc786cab902e70e5e2d008422b877d998.tar.bz2 nutyx-pakxe-aa7ce7edc786cab902e70e5e2d008422b877d998.tar.xz nutyx-pakxe-aa7ce7edc786cab902e70e5e2d008422b877d998.zip |
Ajout de rpmextract#1.0-1
Diffstat (limited to 'extra/rpmextract/rpmextract.sh')
-rw-r--r-- | extra/rpmextract/rpmextract.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/rpmextract/rpmextract.sh b/extra/rpmextract/rpmextract.sh new file mode 100644 index 000000000..47ad01dfe --- /dev/null +++ b/extra/rpmextract/rpmextract.sh @@ -0,0 +1,6 @@ +#!/bin/sh +if [ "$1" = "" -o ! -e "$1" ]; then + echo "no package supplied" 1>&2 + exit 1 +fi +rpm2cpio $1 | bsdtar -xf - |