summaryrefslogtreecommitdiff
path: root/packages/findutils/findutils_4.4.bb
blob: 844f206460c072c249ed8bc664837b998bc4c693 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require findutils.inc

DEFAULT_PREFERENCE = "-1"

EXTRA_OECONF += " ac_cv_path_SORT=/usr/bin/sort "

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
}