Skip to content
Snippets Groups Projects
Commit 9d53c222 authored by Eric Bélanger's avatar Eric Bélanger
Browse files

Upstream update, Update patch

parent 5180b9c2
No related branches found
No related tags found
No related merge requests found
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=lm_sensors
pkgver=3.3.3
pkgrel=3
pkgver=3.3.4
pkgrel=1
pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring"
arch=('i686' 'x86_64')
url="http://www.lm-sensors.org/"
......@@ -15,7 +15,7 @@ options=('!emptydirs')
source=(http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${pkgver}.tar.bz2{,.sig} \
healthd healthd.conf fancontrol.service sensord.service healthd.service \
linux_3.0.patch lm_sensors-fancontrol.patch)
sha1sums=('b55c06f425993e42f13553f204066c446da36fd3'
sha1sums=('4e62538ca99973ff505f2eeb5b841bb402e996d8'
'SKIP'
'1c91ae403d3cd02b6177ad1f1b2f2c3a7a3257f5'
'6c4e8a2d89dd2fd3ca2f0f4f3b1230111e01b0fc'
......@@ -23,7 +23,7 @@ sha1sums=('b55c06f425993e42f13553f204066c446da36fd3'
'cea1ff07374a784cc4be1d28dc6c80641fcae99d'
'd72ec328e9303acef86342483b6f8537de6117d9'
'5662828085cdd981f0dc7cf8f79d3d6e2b72f50c'
'd3e419b4019451fb039ae3d3b8e0ec55121b9f17')
'b0bc977348610d6a008d75a43f65800251c4c9f7')
prepare() {
cd ${pkgname}-${pkgver}
......
......@@ -4,8 +4,8 @@
cd $DIR
# Check for configuration change
-if [ -z "$DEVPATH" -o -z "$DEVNAME" ]
+if [ -z "$DEVPATH" ] || [ -z "$DEVNAME" ]
-if [ "$DIR" != "/" ] && [ -z "$DEVPATH" -o -z "$DEVNAME" ]
+if [[ "$DIR" != "/" && ( -z "$DEVPATH" || -z "$DEVNAME" ) ]]
then
echo "Configuration is too old, please run pwmconfig again" >&2
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment