summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-08-08 11:18:40 +0000
committerRoss Burton <ross@openedhand.com>2007-08-08 11:18:40 +0000
commitaad3939717a8d568c3744926a27790401b6853e5 (patch)
tree5c748cd38a5abe778e8c3354077eb1d059c54b44
parentf5127405ed7995ed30b0529abff0cd79278563db (diff)
downloadpoky-aad3939717a8d568c3744926a27790401b6853e5.tar.gz
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
-rw-r--r--meta/packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb7
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"
2LICENSE = "GPL" 2LICENSE = "GPL"
3SECTION = "x11" 3SECTION = "x11"
4RDEPENDS_${PN} = "xmodmap libxrandr xdpyinfo xtscal xinit formfactor" 4RDEPENDS_${PN} = "xmodmap libxrandr xdpyinfo xtscal xinit formfactor"
5PR = "r18" 5PR = "r19"
6 6
7SRC_URI = "file://etc" 7SRC_URI = "file://etc"
8S = ${WORKDIR} 8S = ${WORKDIR}
@@ -11,8 +11,7 @@ PACKAGE_ARCH = "all"
11 11
12do_install() { 12do_install() {
13 cp -R ${S}/etc ${D}/etc 13 cp -R ${S}/etc ${D}/etc
14 rm -fR ${D}/etc/.svn
15 rm -fR ${D}/etc/*/.svn
16 rm -fR ${D}/etc/*/*/.svn
17 chmod -R 755 ${D}/etc 14 chmod -R 755 ${D}/etc
15 find ${D}/etc -type d -name .svn -prune -exec rm -rf {} \;
16 find ${D}/etc -type f -name \*~ -exec rm -rf {} \;
18} 17}