From 302992fd3e046f2f87665795731ec770149746ce Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Tue, 11 Jun 2024 17:51:56 -0400 Subject: [PATCH] lm_sensors: fix sourcing conf closes #50789 --- srcpkgs/lm_sensors/files/fancontrol/run | 2 +- srcpkgs/lm_sensors/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/lm_sensors/files/fancontrol/run b/srcpkgs/lm_sensors/files/fancontrol/run index 0025d9784a5..6aa08f456d6 100644 --- a/srcpkgs/lm_sensors/files/fancontrol/run +++ b/srcpkgs/lm_sensors/files/fancontrol/run @@ -1,5 +1,5 @@ #!/bin/sh exec 2>&1 -[ -r conf ] && . conf +[ -r conf ] && . ./conf [ ! -r ${CONF_FILE:-/etc/fancontrol} ] && exit 1 exec /usr/bin/fancontrol ${CONF_FILE:-/etc/fancontrol} diff --git a/srcpkgs/lm_sensors/template b/srcpkgs/lm_sensors/template index 6e5091c9f9b..715edcd2132 100644 --- a/srcpkgs/lm_sensors/template +++ b/srcpkgs/lm_sensors/template @@ -1,7 +1,7 @@ # Template file for 'lm_sensors' pkgname=lm_sensors version=3.6.0 -revision=1 +revision=2 build_style=gnu-makefile make_build_args="MACHINE=${XBPS_TARGET_MACHINE#-musl}" make_install_args="${make_build_args} SBINDIR=/usr/bin MANDIR=/usr/share/man"