From: Samuli Suominen Date: Sun, 18 Mar 2007 09:25:25 +0000 (+0000) Subject: Improve USE="hddtemp" with bash check, thanks to Jakub. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a3d1f2a65e54984c4d82df10171fb4fbdae29673;p=gentoo.git Improve USE="hddtemp" with bash check, thanks to Jakub. Package-Manager: portage-2.1.2.2 --- 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 + 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/Manifest b/xfce-extra/xfce4-sensors/Manifest index 5d39f776dfde..2c6a4d65543a 100644 --- a/xfce-extra/xfce4-sensors/Manifest +++ b/xfce-extra/xfce4-sensors/Manifest @@ -1,16 +1,16 @@ DIST xfce4-sensors-plugin-0.10.0.tar.bz2 294522 RMD160 767b9daa4ebb8d501509ce2532531027a3060d6f SHA1 5f99dd25d7f0030595d90fbd0ecfb1c43aee5b05 SHA256 d819bfb3a255350020ecdb18f2b8527e0b6c9e531d0209c1a69f1eb9ec9215d5 -EBUILD xfce4-sensors-0.10.0-r1.ebuild 799 RMD160 455fdd89a6b189a920f3b620467d580eee45b9c2 SHA1 d71c9c1ec33d718fee9318fb4b46354e4e768593 SHA256 2a3c2c0e8bfa64c734ba72edbcacbe5ede3aa1a3558dad95b0ebde185e928f30 -MD5 49a4fcd6f4a85fd6e2d673427e5c7b14 xfce4-sensors-0.10.0-r1.ebuild 799 -RMD160 455fdd89a6b189a920f3b620467d580eee45b9c2 xfce4-sensors-0.10.0-r1.ebuild 799 -SHA256 2a3c2c0e8bfa64c734ba72edbcacbe5ede3aa1a3558dad95b0ebde185e928f30 xfce4-sensors-0.10.0-r1.ebuild 799 +EBUILD xfce4-sensors-0.10.0-r1.ebuild 826 RMD160 57a2aa8cce5f06ca3adcc7ce81699f3966f7b2a7 SHA1 47745c7f38ecf6ff08958289fe5fc1f47cd700d4 SHA256 0d3bb773c85848d8342a85750db152db80ca3c18c7599898d32afd4f4794d6b1 +MD5 07335c9ff105e1cd6ce49a9b706df098 xfce4-sensors-0.10.0-r1.ebuild 826 +RMD160 57a2aa8cce5f06ca3adcc7ce81699f3966f7b2a7 xfce4-sensors-0.10.0-r1.ebuild 826 +SHA256 0d3bb773c85848d8342a85750db152db80ca3c18c7599898d32afd4f4794d6b1 xfce4-sensors-0.10.0-r1.ebuild 826 EBUILD xfce4-sensors-0.10.0.ebuild 463 RMD160 7f92f0f319d605e22445624db4d274c8afc7e196 SHA1 b47474233e896bb089ddd3b064080a2020a4c9d4 SHA256 7fdc180cbbfc823d11c3c796f3a82532817b764ed4f4361dcf576d5a426fe9bb MD5 23ca837f4efa3673517951d5bdfc9e83 xfce4-sensors-0.10.0.ebuild 463 RMD160 7f92f0f319d605e22445624db4d274c8afc7e196 xfce4-sensors-0.10.0.ebuild 463 SHA256 7fdc180cbbfc823d11c3c796f3a82532817b764ed4f4361dcf576d5a426fe9bb xfce4-sensors-0.10.0.ebuild 463 -MISC ChangeLog 2730 RMD160 018a7140852b66550452a2277fc1463baab3aed9 SHA1 7b6186f47c34d32d6897bac301a2adf0db9c0836 SHA256 111d102bf760aee05e17b4206119e16abffee8bfb2185f8194cdf75edf071f29 -MD5 685441ff0f8c7f02979afbf37b309ecd ChangeLog 2730 -RMD160 018a7140852b66550452a2277fc1463baab3aed9 ChangeLog 2730 -SHA256 111d102bf760aee05e17b4206119e16abffee8bfb2185f8194cdf75edf071f29 ChangeLog 2730 +MISC ChangeLog 2872 RMD160 a2fa038c984b39e096c041b85f5fe060256bf216 SHA1 31a0ac8e4721cd8f5f5b2fa9238081e308f7d703 SHA256 ccb60a6f74c6a4d87f224d7271f1badefc64cce06cc13b900bda1a6d9852a93a +MD5 33fd62515de70b5f4f895a6f78450bf5 ChangeLog 2872 +RMD160 a2fa038c984b39e096c041b85f5fe060256bf216 ChangeLog 2872 +SHA256 ccb60a6f74c6a4d87f224d7271f1badefc64cce06cc13b900bda1a6d9852a93a ChangeLog 2872 MISC metadata.xml 157 RMD160 d7470fe88d1b96f3a7f1ef26fb7dc646b4a1b907 SHA1 7eae91f2588bdae8667d37a98fb3090d539eeca1 SHA256 44350daa7594842894d676413708d8ea77ccb0017bed24711af5b256281f5e61 MD5 c390804e060ffd11a5bbb143434b2b2d metadata.xml 157 RMD160 d7470fe88d1b96f3a7f1ef26fb7dc646b4a1b907 metadata.xml 157 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 }