Skip to content
Snippets Groups Projects
Commit c3efc860 authored by Natanael Copa's avatar Natanael Copa
Browse files

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 72363f47 (main/mandoc: fix trigger)
parent 1f05a3da
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mandoc
pkgver=1.14.6
pkgrel=11
pkgrel=12
pkgdesc="mandoc (formerly mdocml) UNIX manpage compiler toolset"
url="https://mandoc.bsd.lv/"
arch="all"
......
#!/bin/sh
nohup nice sh -c "( flock -n 9 && /usr/sbin/makewhatis -T utf8 ) 9>/tmp/makewhatis.lock" \
nohup nice sh -c "( flock 9 && /usr/sbin/makewhatis -T utf8 ) 9>/tmp/makewhatis.lock" \
>/dev/null 2>&1 &
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment