summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-tv/gentoo-vdr-scripts/ChangeLog6
-rw-r--r--media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.3.6.ebuild5
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