aports/main/mandoc/mandoc-apropos.trigger
Natanael Copa c3efc860be main/mandoc: fix apropos trigger
Let the trigger wait for the lock instead of exit with error, so we make
sure that makewatis includes everything.

Fixes commit 72363f47b1 (main/mandoc: fix trigger)
2023-07-12 11:52:38 +02:00

4 lines
118 B
Bash

#!/bin/sh
nohup nice sh -c "( flock 9 && /usr/sbin/makewhatis -T utf8 ) 9>/tmp/makewhatis.lock" \
>/dev/null 2>&1 &