diff options
author | Ross Burton <ross@openedhand.com> | 2007-08-08 11:18:40 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-08-08 11:18:40 +0000 |
commit | aad3939717a8d568c3744926a27790401b6853e5 (patch) | |
tree | 5c748cd38a5abe778e8c3354077eb1d059c54b44 /meta | |
parent | f5127405ed7995ed30b0529abff0cd79278563db (diff) | |
download | openembedded-core-aad3939717a8d568c3744926a27790401b6853e5.tar.gz openembedded-core-aad3939717a8d568c3744926a27790401b6853e5.tar.bz2 openembedded-core-aad3939717a8d568c3744926a27790401b6853e5.zip |
Change do_install logic to clean unwanted files better
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2387 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb b/meta/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb index dcbea4a2ee..80ba7002d8 100644 --- a/meta/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb +++ b/meta/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts" LICENSE = "GPL" SECTION = "x11" RDEPENDS_${PN} = "xmodmap libxrandr xdpyinfo xtscal xinit formfactor" -PR = "r18" +PR = "r19" SRC_URI = "file://etc" S = ${WORKDIR} @@ -11,8 +11,7 @@ PACKAGE_ARCH = "all" do_install() { cp -R ${S}/etc ${D}/etc - rm -fR ${D}/etc/.svn - rm -fR ${D}/etc/*/.svn - rm -fR ${D}/etc/*/*/.svn chmod -R 755 ${D}/etc + find ${D}/etc -type d -name .svn -prune -exec rm -rf {} \; + find ${D}/etc -type f -name \*~ -exec rm -rf {} \; } |