pkgbuild: Don't error on missing source/build symlink
Source link doesn't exist on 6.6
This commit is contained in:
2
PKGBUILD
2
PKGBUILD
@@ -167,7 +167,7 @@ hackbase() {
|
|||||||
DEPMOD=/doesnt/exist modules_install # Suppress depmod
|
DEPMOD=/doesnt/exist modules_install # Suppress depmod
|
||||||
|
|
||||||
# remove build and source links
|
# remove build and source links
|
||||||
rm "$modulesdir"/{source,build}
|
rm -f "$modulesdir"/{source,build}
|
||||||
|
|
||||||
# install cleanup pacman hook and script
|
# install cleanup pacman hook and script
|
||||||
sed -e "s|cleanup|${pkgbase}-cleanup|g" "${srcdir}"/90-cleanup.hook |
|
sed -e "s|cleanup|${pkgbase}-cleanup|g" "${srcdir}"/90-cleanup.hook |
|
||||||
|
Reference in New Issue
Block a user