citadel/scripts/rootfs_rpm-extract-postinst.awk
brl 098b8f982b Squashed 'poky/' content from commit 4469acdf1d
git-subtree-dir: poky
git-subtree-split: 4469acdf1d0338220f3fe2ecb5e079eea6fda375
2017-12-04 16:35:29 -05:00

12 lines
158 B
Awk

/Name:.*/ {
package = substr($0, 7)
next
}
/postinstall.*scriptlet .*/ {
next
}
{
print $0 >> ENVIRON["D"] "/etc/rpm-postinsts/" package ".sh"
}