[arch-commits] CVS update of extra/system/lm_sensors (PKGBUILD sensors.install)
andyrtr at archlinux.org
andyrtr at archlinux.org
Tue Jan 1 13:14:44 UTC 2008
Date: Tuesday, January 1, 2008 @ 08:14:44
Author: andyrtr
Path: /home/cvs-extra/extra/system/lm_sensors
Modified: PKGBUILD (1.11 -> 1.12) sensors.install (1.2 -> 1.3)
upgpkg: lm_sensors 3.0.0-2
lm_sensors.install fixed for #8903
-----------------+
PKGBUILD | 4 ++--
sensors.install | 18 ++++++++++--------
2 files changed, 12 insertions(+), 10 deletions(-)
Index: extra/system/lm_sensors/PKGBUILD
diff -u extra/system/lm_sensors/PKGBUILD:1.11 extra/system/lm_sensors/PKGBUILD:1.12
--- extra/system/lm_sensors/PKGBUILD:1.11 Thu Dec 27 12:48:19 2007
+++ extra/system/lm_sensors/PKGBUILD Tue Jan 1 08:14:44 2008
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.11 2007/12/27 17:48:19 jgc Exp $
+# $Id: PKGBUILD,v 1.12 2008/01/01 13:14:44 andyrtr Exp $
# Maintainer: aurelien <aurelien at archlinux.org>
# Contributor: Aurelien Foret <orelien at chez.com>
pkgname=lm_sensors
pkgver=3.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring."
arch=('i686' 'x86_64')
license=('GPL')
Index: extra/system/lm_sensors/sensors.install
diff -u extra/system/lm_sensors/sensors.install:1.2 extra/system/lm_sensors/sensors.install:1.3
--- extra/system/lm_sensors/sensors.install:1.2 Fri Jul 13 05:44:12 2007
+++ extra/system/lm_sensors/sensors.install Tue Jan 1 08:14:44 2008
@@ -1,18 +1,20 @@
# arg 1: the new package version
# arg 2: the old package version
-post_upgrade() {
- if [ "`vercmp $2 2.10.1`" -lt 0 ]; then
- echo ">>> we have added the daemon script"
- echo ">>> so you can control lm_senors by typing"
+post_install() {
+ echo ">>> to control the lm_sensors daemon type"
echo ">>> \"/etc/rc.d/sensors start|stop|restart\" "
- fi
- if [ "`vercmp $2 2.10.3-2`" -lt 0 ]; then
- echo ">>> we have added a daemon script for fancontrol"
+ echo ">>> --------------------------------------"
+ echo ">>> before you can use the fancontrol daemon"
echo ">>> first create a fancontrol config file, use \"pwmconfig\""
- fi
+ echo ">>> then type \"/etc/rc.d/fancontrol start|stop|restart\" "
}
+post_upgrade() {
+ post_install
+}
+
+
op=$1
shift
$op $*
More information about the arch-commits
mailing list