mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
preload: fix IONICE bin
This commit is contained in:
parent
aa7734521c
commit
562daf80c6
2 changed files with 3 additions and 2 deletions
|
@ -8,10 +8,11 @@ exec 2>&1
|
||||||
|
|
||||||
# Command-line arguments to pass to the daemon. Read preload(8) man page
|
# Command-line arguments to pass to the daemon. Read preload(8) man page
|
||||||
# for available options.
|
# for available options.
|
||||||
: ${OPTS:="--verbose 1 -l ''"}
|
: ${OPTS:="--verbose 1"}
|
||||||
|
|
||||||
# Option to call ionice with. Leave empty to skip ionice.
|
# Option to call ionice with. Leave empty to skip ionice.
|
||||||
: ${IONICE_OPTS:=-c3}
|
: ${IONICE_OPTS:=-c3}
|
||||||
|
: ${IONICE:=/usr/bin/ionice}
|
||||||
|
|
||||||
free -m | awk '/Mem:/ {exit ($2 >= ('"$MIN_MEMORY"'))?0:1}' || exit 0
|
free -m | awk '/Mem:/ {exit ($2 >= ('"$MIN_MEMORY"'))?0:1}' || exit 0
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'preload'
|
# Template file for 'preload'
|
||||||
pkgname=preload
|
pkgname=preload
|
||||||
version=0.6.4
|
version=0.6.4
|
||||||
revision=8
|
revision=9
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libglib-devel"
|
makedepends="libglib-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue