diff --git a/pkgs/os-specific/linux/sysvinit/builder.sh b/pkgs/os-specific/linux/sysvinit/builder.sh index 198fa9ba4160..bd0f820f21bc 100644 --- a/pkgs/os-specific/linux/sysvinit/builder.sh +++ b/pkgs/os-specific/linux/sysvinit/builder.sh @@ -24,7 +24,7 @@ postInstall() { rm -rf $out/sbin rm -rf $out/include rm -rf $out/share/man/man5 - rm -rf $out/share/man/man8 + rm $(for i in $out/share/man/man8/*; do echo $i; done | grep -v 'pidof\|killall5') fi }