diff options
Diffstat (limited to 'packages/findutils/findutils_4.2.29.bb')
-rw-r--r-- | packages/findutils/findutils_4.2.29.bb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/findutils/findutils_4.2.29.bb b/packages/findutils/findutils_4.2.29.bb new file mode 100644 index 0000000000..2f40d03bd4 --- /dev/null +++ b/packages/findutils/findutils_4.2.29.bb @@ -0,0 +1,14 @@ +require findutils.inc + +do_install_append () { + mv ${D}${bindir}/find ${D}${bindir}/find.${PN} + mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN} +} + +pkg_postinst_${PN} () { + for i in find xargs; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done +} + +pkg_prerm_${PN} () { + for i in find xargs; do update-alternatives --remove $i $i.${PN}; done +} |