From 328b2cac206cc7e64e130f8828368f7d55125c25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Tue, 14 Apr 2009 16:57:31 +0000 Subject: [PATCH] Remove sound/ headers which are shipped with alsa-headers --- pisi/actionsapi/kerneltools.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py index 5ba0c3b2..04c42e7e 100644 --- a/pisi/actionsapi/kerneltools.py +++ b/pisi/actionsapi/kerneltools.py @@ -170,6 +170,9 @@ def installLibcHeaders(): shelltools.system("find . -name '.' -o -name '.*' -prune -o -print | \ cpio -pVd --preserve-modification-time %s" % headers_dir) + # Remove sound/ directory which is installed by alsa-headers + shelltools.system("rm -rf %s/sound" % headers_dir) + shelltools.cd(oldwd) # FIXME: Do we really need to delete those directories below?