summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-xtreme
diff options
context:
space:
mode:
Diffstat (limited to 'kernels/linux-libre-xtreme')
-rw-r--r--kernels/linux-libre-xtreme/PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernels/linux-libre-xtreme/PKGBUILD b/kernels/linux-libre-xtreme/PKGBUILD
index 58634d150..b0f3f2236 100644
--- a/kernels/linux-libre-xtreme/PKGBUILD
+++ b/kernels/linux-libre-xtreme/PKGBUILD
@@ -345,6 +345,9 @@ _package-headers() {
# remove files already in linux-docs package
rm -r "${_builddir}/Documentation"
+ # remove now broken symlinks
+ find -L "${_builddir}" -type l -printf 'Removing %P\n' -delete
+
# parabola changes
#
# since we don't want to diverge too much from arch's pkgbuild, we'll