1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00

main/mandoc: fix trigger

busybox flock does not have -w. just fail instantly instead if locked
This commit is contained in:
psykose 2023-07-11 19:51:28 +00:00
parent cd36d381c7
commit 72363f47b1
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mandoc
pkgver=1.14.6
pkgrel=10
pkgrel=11
pkgdesc="mandoc (formerly mdocml) UNIX manpage compiler toolset"
url="https://mandoc.bsd.lv/"
arch="all"

View file

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