summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaik Schreiber <blizzy@gentoo.org>2002-11-18 06:49:54 +0000
committerMaik Schreiber <blizzy@gentoo.org>2002-11-18 06:49:54 +0000
commit9d2dcc23078500fa444a6c3c9adb251bad110bf6 (patch)
tree8d0e5dbd765af734e4ed9a16e2d249fd483ee39f /x11-plugins/gkrellm-hddtemp
parentrev bump (diff)
downloadgentoo-2-9d2dcc23078500fa444a6c3c9adb251bad110bf6.tar.gz
gentoo-2-9d2dcc23078500fa444a6c3c9adb251bad110bf6.tar.bz2
gentoo-2-9d2dcc23078500fa444a6c3c9adb251bad110bf6.zip
(multiple) removed quite some crap:
- "boxes" done with "*****", "#####", "=====" or "-----" - checking for user accounts with weird awk stuff instead of using id - empty lines at beginning or end of functions - whole "novels" of instructions in pkg_postinst()
Diffstat (limited to 'x11-plugins/gkrellm-hddtemp')
-rw-r--r--x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild20
1 files changed, 5 insertions, 15 deletions
diff --git a/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild b/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild
index b27f157f6929..fcfe3bc5d6c3 100644
--- a/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild
+++ b/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild,v 1.3 2002/10/04 06:44:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.1.ebuild,v 1.4 2002/11/18 06:49:54 blizzy Exp $
S=${WORKDIR}/${P}
DESCRIPTION="a GKrellM plugin for hddtemp (which reads the temperature of SMART IDE hard drives)"
@@ -33,18 +33,8 @@ src_install() {
}
pkg_postinst() {
- einfo
- einfo "#######################################################"
- einfo "# #"
- einfo "# Please note that hddtemp has to be set suid #"
- einfo "# in order to allow regular user to run this #"
- einfo "# plugin. #"
- einfo "# #"
- einfo "# Please execute (as root): #"
- einfo "# chmod u+s /usr/bin/hddtemp #"
- einfo "# to set the suid bit #"
- einfo "# (this is not done automatically for #"
- einfo "# security reasons) #"
- einfo "# #"
- einfo "#######################################################"
+ einfo "hddtemp has to be suid root to allow regular users to run this plugin."
+ einfo "To make it suid root, run"
+ einfo ""
+ einfo "\tchmod u+s /usr/bin/hddtemp"
}