diff options
| -rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb b/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb index 2f887e6018..4e76d24526 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.3.21.bb | |||
| @@ -50,7 +50,8 @@ SYSTEMD_AUTO_ENABLE = "disable" | |||
| 50 | do_install:append () { | 50 | do_install:append () { |
| 51 | rm -rf ${D}${libdir}/dovecot/dovecot-config | 51 | rm -rf ${D}${libdir}/dovecot/dovecot-config |
| 52 | install -d 755 ${D}/etc/dovecot | 52 | install -d 755 ${D}/etc/dovecot |
| 53 | touch 644 ${D}/etc/dovecot/dovecot.conf | 53 | touch ${D}/etc/dovecot/dovecot.conf |
| 54 | chmod 644 ${D}/etc/dovecot/dovecot.conf | ||
| 54 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then | 55 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then |
| 55 | install -m 0644 ${UNPACKDIR}/dovecot.service ${D}${systemd_unitdir}/system | 56 | install -m 0644 ${UNPACKDIR}/dovecot.service ${D}${systemd_unitdir}/system |
| 56 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service | 57 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service |
