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

PR = "r1"
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
}