diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-07-12 15:53:14 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-07-12 15:53:14 +0000 |
commit | 6722e20280b6e2744d398b0d41e0e909bf139fed (patch) | |
tree | 33388d0e6ae420edc43a93e1683f6bd09200b868 /media-tv/gentoo-vdr-scripts | |
parent | Mark 0.5 stable on ia64 (diff) | |
download | gentoo-2-6722e20280b6e2744d398b0d41e0e909bf139fed.tar.gz gentoo-2-6722e20280b6e2744d398b0d41e0e909bf139fed.tar.bz2 gentoo-2-6722e20280b6e2744d398b0d41e0e909bf139fed.zip |
Comment out old sudo-entry when adding new.
(Portage version: 2.1.1_pre2-r8)
Diffstat (limited to 'media-tv/gentoo-vdr-scripts')
-rw-r--r-- | media-tv/gentoo-vdr-scripts/ChangeLog | 6 | ||||
-rw-r--r-- | media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.6.ebuild | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/media-tv/gentoo-vdr-scripts/ChangeLog b/media-tv/gentoo-vdr-scripts/ChangeLog index c5e14546896b..53cfc1786520 100644 --- a/media-tv/gentoo-vdr-scripts/ChangeLog +++ b/media-tv/gentoo-vdr-scripts/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-tv/gentoo-vdr-scripts # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/ChangeLog,v 1.62 2006/07/09 16:32:53 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/ChangeLog,v 1.63 2006/07/12 15:53:14 zzam Exp $ + + 12 Jul 2006; Matthias Schwarzott <zzam@gentoo.org> + gentoo-vdr-scripts-0.3.6.ebuild: + Comment out old sudo-entry when adding new. *gentoo-vdr-scripts-0.3.6 (09 Jul 2006) diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.6.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.6.ebuild index 981163a70db0..d912c4aa783b 100644 --- a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.6.ebuild +++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.6.ebuild,v 1.1 2006/07/09 16:32:53 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.6.ebuild,v 1.2 2006/07/12 15:53:14 zzam Exp $ inherit eutils @@ -112,6 +112,9 @@ pkg_config() { cd ${T} cat >sudoedit-vdr.sh <<-SUDOEDITOR #!/bin/bash + echo Commenting out old entry + sed -i \${1} -e '/\/usr\/lib\/vdr\/bin\/vdrshutdown-really.sh/s/^/#/' + echo Adding new entry echo "" >> \${1} echo "${VDRSUDOENTRY}" >> \${1} SUDOEDITOR |