diff options
author | Mike Westerhof <mwester@dls.net> | 2009-02-18 21:06:27 -0600 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2009-02-18 21:08:28 -0600 |
commit | f4d7e6abe321c40503de42f2e44f585f2af174ea (patch) | |
tree | dad8afb32e531f560aa2e9e581c93da8bc9979d5 | |
parent | e84d5d164577b2f64514a5d604a410031c118f5f (diff) |
procps: add pkill to the update-alternatives list
-rw-r--r-- | packages/procps/procps_3.2.7.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/procps/procps_3.2.7.bb b/packages/procps/procps_3.2.7.bb index 724e1fdc67..689fc33503 100644 --- a/packages/procps/procps_3.2.7.bb +++ b/packages/procps/procps_3.2.7.bb @@ -1,6 +1,6 @@ require procps.inc -PR = "r6" +PR = "r7" inherit update-rc.d @@ -40,6 +40,7 @@ do_install_append () { mv ${D}${base_bindir}/ps ${D}${base_bindir}/ps.${PN} mv ${D}${bindir}/free ${D}${bindir}/free.${PN} mv ${D}${base_sbindir}/sysctl ${D}${base_sbindir}/sysctl.${PN} + mv ${D}${bindir}/pkill ${D}${bindir}/pkill.${PN} } pkg_postinst() { @@ -49,6 +50,7 @@ pkg_postinst() { update-alternatives --install ${base_bindir}/kill kill kill.${PN} 90 update-alternatives --install ${bindir}/free free free.${PN} 90 update-alternatives --install ${base_sbindir}/sysctl sysctl sysctl.${PN} 90 + update-alternatives --install ${bindir}/pkill pkill pkill.${PN} 90 } pkg_postrm() { @@ -58,4 +60,5 @@ pkg_postrm() { update-alternatives --remove kill kill.${PN} update-alternatives --remove free free.${PN} update-alternatives --remove sysctl sysctl.${PN} + update-alternatives --remove pkill pkill.${PN} } |