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:
parent
cd36d381c7
commit
72363f47b1
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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 &
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue