On Mon, 2012-08-13 at 14:14 -0700, Scott Garman wrote:
> +pkg_postinst_${PN} () {
> +# run this on the target
> +if [ "x$D" == "x" ]; then
By the way, "==" is a bashism; that should just be "=" for portability.
Or you can use '-z "$D"' which is also portable.
p.