From 8a56e832e8c0aa0deacc5cd6753d1ab9a7fbdcf1 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Tue, 12 Sep 2023 15:32:17 +0200 Subject: [PATCH] pkgbuild: Don't error on missing source/build symlink Source link doesn't exist on 6.6 --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 77cc670..ef7f523 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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 |