summaryrefslogtreecommitdiffstats
path: root/scripts/rootfs_rpm-extract-postinst.awk
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rootfs_rpm-extract-postinst.awk')
-rw-r--r--scripts/rootfs_rpm-extract-postinst.awk11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/rootfs_rpm-extract-postinst.awk b/scripts/rootfs_rpm-extract-postinst.awk
new file mode 100644
index 0000000..8f2836b
--- /dev/null
+++ b/scripts/rootfs_rpm-extract-postinst.awk
@@ -0,0 +1,11 @@
1/Name:.*/ {
2 package = substr($0, 7)
3 next
4}
5/postinstall.*scriptlet .*/ {
6 next
7}
8{
9 print $0 >> ENVIRON["D"] "/etc/rpm-postinsts/" package ".sh"
10}
11