diff --git a/meta-ohos-demo/recipes-gnome/epiphany/epiphany-app.bb b/meta-ohos-demo/recipes-gnome/epiphany/epiphany-app.bb index 81b7d3a50ff07e9f8e7cf6e0d97a415adba85756..452e4a4a78b3c14b2c7b526faab671b7fd21c77e 100644 --- a/meta-ohos-demo/recipes-gnome/epiphany/epiphany-app.bb +++ b/meta-ohos-demo/recipes-gnome/epiphany/epiphany-app.bb @@ -32,9 +32,9 @@ do_install() { # The systemd service override is optional and app specific (for example it # can add dependencies for a local HTTP service). - if [ -f "${WORKDIR}/epiphany-${EPIPHANY_APP}/service-override.conf" ]; then + if [ -f "${WORKDIR}/${EPIPHANY_APP}/service-override.conf" ]; then mkdir -p "${D}${sysconfdir}/systemd/system/epiphany-app@${EPIPHANY_APP}.service.d" - cp "${WORKDIR}/epiphany-${EPIPHANY_APP}/service-override.conf" \ + cp "${WORKDIR}/${EPIPHANY_APP}/service-override.conf" \ "${D}${sysconfdir}/systemd/system/epiphany-app@${EPIPHANY_APP}.service.d" fi