summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-03-18 09:25:25 +0000
committerSamuli Suominen <drac@gentoo.org>2007-03-18 09:25:25 +0000
commitccfd93fd2b3606fa220a881deb877d78a8792552 (patch)
tree2790932b7959be4814e479ba178783d58838e8fd /xfce-extra/xfce4-sensors
parentAdd new USE flags debug and hddtemp. (diff)
downloadgentoo-2-ccfd93fd2b3606fa220a881deb877d78a8792552.tar.gz
gentoo-2-ccfd93fd2b3606fa220a881deb877d78a8792552.tar.bz2
gentoo-2-ccfd93fd2b3606fa220a881deb877d78a8792552.zip
Improve USE="hddtemp" with bash check, thanks to Jakub.
(Portage version: 2.1.2.2)
Diffstat (limited to 'xfce-extra/xfce4-sensors')
-rw-r--r--xfce-extra/xfce4-sensors/ChangeLog6
-rw-r--r--xfce-extra/xfce4-sensors/xfce4-sensors-0.10.0-r1.ebuild8
2 files changed, 8 insertions, 6 deletions
diff --git a/xfce-extra/xfce4-sensors/ChangeLog b/xfce-extra/xfce4-sensors/ChangeLog
index 0fdca46ce14e..b21cd49c47ab 100644
--- a/xfce-extra/xfce4-sensors/ChangeLog
+++ b/xfce-extra/xfce4-sensors/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for xfce-extra/xfce4-sensors
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors/ChangeLog,v 1.17 2007/03/18 08:58:25 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors/ChangeLog,v 1.18 2007/03/18 09:25:25 drac Exp $
+
+ 18 Mar 2007; Samuli Suominen <drac@gentoo.org>
+ xfce4-sensors-0.10.0-r1.ebuild:
+ Improve USE="hddtemp" with bash check, thanks to Jakub.
*xfce4-sensors-0.10.0-r1 (18 Mar 2007)
diff --git a/xfce-extra/xfce4-sensors/xfce4-sensors-0.10.0-r1.ebuild b/xfce-extra/xfce4-sensors/xfce4-sensors-0.10.0-r1.ebuild
index f1604a561e01..044bb9d984aa 100644
--- a/xfce-extra/xfce4-sensors/xfce4-sensors-0.10.0-r1.ebuild
+++ b/xfce-extra/xfce4-sensors/xfce4-sensors-0.10.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors/xfce4-sensors-0.10.0-r1.ebuild,v 1.1 2007/03/18 08:58:25 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-sensors/xfce4-sensors-0.10.0-r1.ebuild,v 1.2 2007/03/18 09:25:25 drac Exp $
inherit xfce44
@@ -25,10 +25,8 @@ pkg_postinst() {
xfce44_pkg_postinst
if use hddtemp; then
- elog
- elog "You need to run \"chmod u+s /usr/sbin/hddtemp\" to show disk
- temperatures."
- elog
+ [[ -u "${ROOT}"/usr/sbin/hddtemp ]] || \
+ elog "You need to run \"chmod u+s /usr/sbin/hddtemp\" to show disk temperatures."
fi
}