1 DESCRIPTION = "Miscellaneous utilities specific to Debian"
3 LICENSE = "GPL BSD BSD SMAIL"
6 SRC_URI = "${DEBIAN_MIRROR}/main/d/${PN}/${PN}_${PV}.tar.gz"
11 for app in ${D}${sbindir}/* ${D}${bindir}/*; do
14 if [ "${base_bindir}" != "${bindir}" ]; then
15 # Debian places some utils into ${base_bindir} as does busybox
16 install -d ${D}${base_bindir}
17 for app in run-parts.${PN} tempfile.${PN}; do
18 mv ${D}${bindir}/$app ${D}${base_bindir}/$app
24 for app in add-shell installkernel mkboot remove-shell run-parts savelog sensible-browser sensible-editor sensible-pager tempfile which ; do
25 update-alternatives --remove $app $app.${PN}
28 pkg_postinst_${PN} () {
30 for app in add-shell installkernel mkboot remove-shell ; do
31 update-alternatives --install ${sbindir}/$app $app $app.${PN} 100
33 for app in savelog sensible-browser sensible-editor sensible-pager which ; do
34 update-alternatives --install ${bindir}/$app $app $app.${PN} 100
36 for app in run-parts tempfile ; do
37 update-alternatives --install ${base_bindir}/$app $app $app.${PN} 100