1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 03:39:53 +03:00
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 &