diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/rootfs_rpm-extract-postinst.awk | 11 |
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 000000000..8f2836b32 --- /dev/null +++ b/scripts/rootfs_rpm-extract-postinst.awk @@ -0,0 +1,11 @@ +/Name:.*/ { + package = substr($0, 7) + next +} +/postinstall.*scriptlet .*/ { + next +} +{ + print $0 >> ENVIRON["D"] "/etc/rpm-postinsts/" package ".sh" +} + |