diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2006-12-20 16:25:04 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2006-12-20 16:25:04 +0000 |
commit | 040cac4381dad6ccdfc469947707801635b637f3 (patch) | |
tree | 43baba065d1d11e16f6643c71f0058088cee27e1 /packages/findutils/findutils_4.2.29.bb | |
parent | 38b93f84292c8c73dbe31a819af460a25c6366c5 (diff) | |
parent | 4eb9df8f9417be05b68b75b697300bb2321e9968 (diff) |
merge of '81438ff8d532d4511d52cc48caae759eaf02741c'
and '8e96e2bb9c496749e3561f9bbb1bd1de9ae3258e'
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 +} |