diff --git a/recipes-extra/uucp/uucp_1.07.bb b/recipes-extra/uucp/uucp_1.07.bb index dc4471d..4221833 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" +PR = "r3.4" inherit autotools @@ -18,7 +18,16 @@ do_configure() { EXTRA_OECONF = "--with-newconfigdir=/etc/uucp" do_install_append() { - fakeroot install -d -g uucp -o uucp ${D}/var/spool/uucp + install -d ${D}/var/spool/uucp +} + +pkg_postinst_${PN} () { + if [ "x$D" != "x" ] ; then + exit 1 + fi + + chown uucp:uucp /var/spool/uucp + chmod 770 /var/spool/uucp } PACKAGES =+ "cu"