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/packages/xserver-kdrive-common | |
parent | f5127405ed7995ed30b0529abff0cd79278563db (diff) | |
download | poky-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
Diffstat (limited to 'meta/packages/xserver-kdrive-common')
-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" | |||
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | SECTION = "x11" | 3 | SECTION = "x11" |
4 | RDEPENDS_${PN} = "xmodmap libxrandr xdpyinfo xtscal xinit formfactor" | 4 | RDEPENDS_${PN} = "xmodmap libxrandr xdpyinfo xtscal xinit formfactor" |
5 | PR = "r18" | 5 | PR = "r19" |
6 | 6 | ||
7 | SRC_URI = "file://etc" | 7 | SRC_URI = "file://etc" |
8 | S = ${WORKDIR} | 8 | S = ${WORKDIR} |
@@ -11,8 +11,7 @@ PACKAGE_ARCH = "all" | |||
11 | 11 | ||
12 | do_install() { | 12 | do_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 | } |