summaryrefslogtreecommitdiffstats
path: root/scripts/dbg_unpkrpm
blob: 143d4afa4fe371c75ca5e745f08136dc5f2b998c (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

rm -rf UNPACKED
mkdir -p UNPACKED

for rpm in *.rpm; do
    rpm2cpio "$rpm" | ( cd UNPACKED && cpio -i --make-directories)
done