pkgbuild: Don't error on missing source/build symlink

Source link doesn't exist on 6.6
This commit is contained in:
Tk-Glitch
2023-09-12 15:32:17 +02:00
parent 25c2172e13
commit 8a56e832e8

View File

@@ -167,7 +167,7 @@ hackbase() {
DEPMOD=/doesnt/exist modules_install # Suppress depmod
# remove build and source links
rm "$modulesdir"/{source,build}
rm -f "$modulesdir"/{source,build}
# install cleanup pacman hook and script
sed -e "s|cleanup|${pkgbase}-cleanup|g" "${srcdir}"/90-cleanup.hook |