Seems the default installation does not include the man page in repo. Debian packages ship with it, maybe we should too.
Apply this patch would add the man page to the $pkgdir:
diff --git a/PKGBUILD b/PKGBUILD
index 906e11275d8f..5a3af6d0187f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -44,4 +44,7 @@ package() {
install -Dm444 "${srcdir}/needrestart.hook" \
"${pkgdir}/usr/share/libalpm/hooks/needrestart.hook"
+
+ # Install man page not included in `make install`
+ install -Dm644 "man/needrestart.1" "${pkgdir}/usr/share/man/man1/needrestart.1"
}
Pinned Comments
meadow commented on 2024-03-03 13:48 (UTC)
Maybe this can (easily?) solve the issue that -lts kernels are always detected as outdated
https://github.com/liske/needrestart/issues/281#issuecomment-1975120647