From 2bb8374f717b5700df8cbe87e60ff03515c02887 Mon Sep 17 00:00:00 2001 From: Bogdan Oprescu Date: Thu, 26 Oct 2023 15:53:34 +0300 Subject: Adding the source code from EneaLinux 4.0_6 Signed-off-by: Bogdan Oprescu --- scripts/rootfs_rpm-extract-postinst.awk | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/rootfs_rpm-extract-postinst.awk (limited to 'scripts/rootfs_rpm-extract-postinst.awk') diff --git a/scripts/rootfs_rpm-extract-postinst.awk b/scripts/rootfs_rpm-extract-postinst.awk new file mode 100644 index 0000000000..8f2836b32c --- /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" +} + -- cgit v1.2.3-54-g00ecf