diff options
author | Chris Larson <clarson@kergoth.com> | 2004-03-29 21:17:57 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-03-29 21:17:57 +0000 |
commit | 3115fb3e0d8d769e2994bcd6463e5403188fab4b (patch) | |
tree | bded29302158765542a4182b9ecc7bcffa343a0b /apmd | |
parent | af8389231cd953919be4c6d7e7a8a04504db9935 (diff) |
Adapting some builds per the recent oe metadata handling changes.
BKrev: 40689285Q7zUjk20aonhEakS324blw
Diffstat (limited to 'apmd')
-rw-r--r-- | apmd/apmd_3.2.0.oe | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apmd/apmd_3.2.0.oe b/apmd/apmd_3.2.0.oe index 6224f4ae06..61e385fd4d 100644 --- a/apmd/apmd_3.2.0.oe +++ b/apmd/apmd_3.2.0.oe @@ -52,20 +52,20 @@ do_install() { install -m 0644 ${S}/debian/apmd_proxy.conf ${D}/${datadir}/apmd/ install -m 0644 ${S}/debian/apmd.default ${D}/${sysconfdir}/default/apmd oe_soinstall .libs/libapm.so.1.0.0 ${D}/${libdir}/ - + cat ${FILESDIR}/init | sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' > ${D}/${sysconfdir}/init.d/apmd chmod 755 ${D}/${sysconfdir}/init.d/apmd } pkg_postinst () { - if test -n "$D"; then + if test -n "${D}"; then D="-r $D" fi update-rc.d $D apmd defaults } pkg_prerm () { - if test -n "$D"; then + if test -n "${D}"; then D="-r $D" fi update-rc.d $D apmd remove |