[PATCH v2 15/28] at: use ${base_sbindir} instead of /sbin for packaging

Javier Martinez Canillas
2012-08-05T20:01:44Z

meta/recipes-extended/at/at_3.1.13.bb | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-extended/at/at_3.1.13.bb b/meta/recipes-extended/at/at_3.1.13.bb
index 9af3569..ab20eb8 100644
--- a/meta/recipes-extended/at/at_3.1.13.bb
+++ b/meta/recipes-extended/at/at_3.1.13.bb
@@ -11,7 +11,7 @@ PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits"

RCONFLICTS_${PN} = "atd"
RREPLACES_${PN} = "atd"
-PR = "r1"
+PR = "r2"

SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
file://configure.patch \
@@ -51,8 +51,8 @@ do_install () {
install -d ${D}${sysconfdir}/rcS.d
install -m 0755 ${WORKDIR}/S99at ${D}${sysconfdir}/init.d/atd
ln -sf ../init.d/atd ${D}${sysconfdir}/rcS.d/S99at
- cp -r ${D}/usr/doc/at ${D}${docdir}/
- rm -rf ${D}/usr/doc
+ cp -r ${D}${prefix}/doc/at ${D}${docdir}/
+ rm -rf ${D}${prefix}/doc

for feature in ${DISTRO_FEATURES}; do
if [ "$feature" = "pam" ]; then
--
1.7.7.6