diff --git a/recipes-extra/uucp/uucp_1.07.bb b/recipes-extra/uucp/uucp_1.07.bb index 4221833..e19a217 100644 --- a/recipes-extra/uucp/uucp_1.07.bb +++ b/recipes-extra/uucp/uucp_1.07.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.airs.com/ian/uucp.html" SECTION = "console/utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -PR = "r3.4" +PR = "r3.5" inherit autotools @@ -17,15 +17,16 @@ do_configure() { EXTRA_OECONF = "--with-newconfigdir=/etc/uucp" -do_install_append() { - install -d ${D}/var/spool/uucp -} - pkg_postinst_${PN} () { if [ "x$D" != "x" ] ; then exit 1 fi + # Create the UUCP directory if it does not exist + if [ ! -e /var/spool/uucp ] ; then + mkdir -m 0770 /var/spool/uucp + fi + chown uucp:uucp /var/spool/uucp chmod 770 /var/spool/uucp }