blob: fcb074c185cafc0c57ccc5885d0e961d56b03fde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
require findutils.inc
EXTRA_OECONF += " ac_cv_path_SORT=/usr/bin/sort "
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
}
|