From 185f5491176335e98adcf903a40b6399d22850bf Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 16 Mar 2012 13:15:15 +0000 Subject: grep: Fix QA warnings WARNING: For recipe grep, the following files/directories were installed but not shipped in any package: WARNING: /usr/bin Signed-off-by: Richard Purdie --- meta/recipes-extended/grep/grep_2.9.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-extended/grep') diff --git a/meta/recipes-extended/grep/grep_2.9.bb b/meta/recipes-extended/grep/grep_2.9.bb index 9099bed2af..1bc79f21c9 100644 --- a/meta/recipes-extended/grep/grep_2.9.bb +++ b/meta/recipes-extended/grep/grep_2.9.bb @@ -6,7 +6,7 @@ SECTION = "console/utils" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=8006d9c814277c1bfc4ca22af94b59ee" -PR = "r0" +PR = "r1" SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.gz" @@ -27,6 +27,7 @@ do_install () { mv ${D}${bindir}/grep ${D}${base_bindir}/grep.${PN} mv ${D}${bindir}/egrep ${D}${base_bindir}/egrep.${PN} mv ${D}${bindir}/fgrep ${D}${base_bindir}/fgrep.${PN} + rmdir ${D}${bindir}/ } pkg_postinst_${PN} () { -- cgit 1.2.3-korg