lm_sensors: fix sourcing conf

closes #50789
This commit is contained in:
classabbyamp 2024-06-11 17:51:56 -04:00
parent 1025e9199f
commit 302992fd3e
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
exec 2>&1 exec 2>&1
[ -r conf ] && . conf [ -r conf ] && . ./conf
[ ! -r ${CONF_FILE:-/etc/fancontrol} ] && exit 1 [ ! -r ${CONF_FILE:-/etc/fancontrol} ] && exit 1
exec /usr/bin/fancontrol ${CONF_FILE:-/etc/fancontrol} exec /usr/bin/fancontrol ${CONF_FILE:-/etc/fancontrol}

View file

@ -1,7 +1,7 @@
# Template file for 'lm_sensors' # Template file for 'lm_sensors'
pkgname=lm_sensors pkgname=lm_sensors
version=3.6.0 version=3.6.0
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
make_build_args="MACHINE=${XBPS_TARGET_MACHINE#-musl}" make_build_args="MACHINE=${XBPS_TARGET_MACHINE#-musl}"
make_install_args="${make_build_args} SBINDIR=/usr/bin MANDIR=/usr/share/man" make_install_args="${make_build_args} SBINDIR=/usr/bin MANDIR=/usr/share/man"