summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-10-08 14:56:45 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-10-08 14:56:45 +0000
commit27f8f7b66f6b3d11b9c23ed04bd13e5a5439d605 (patch)
treeabeedc84d53e6e4abd36b1e51931409c24845ae4 /media-tv/vdrplugin-rebuild
parentwhitespace (diff)
downloadgentoo-2-27f8f7b66f6b3d11b9c23ed04bd13e5a5439d605.tar.gz
gentoo-2-27f8f7b66f6b3d11b9c23ed04bd13e5a5439d605.tar.bz2
gentoo-2-27f8f7b66f6b3d11b9c23ed04bd13e5a5439d605.zip
Block >=media-tv/gentoo-vdr-scripts-0.4.2 as that will absorb vdrplugin-rebuild. Fixed quoting.
(Portage version: 2.1.3.12)
Diffstat (limited to 'media-tv/vdrplugin-rebuild')
-rw-r--r--media-tv/vdrplugin-rebuild/ChangeLog7
-rw-r--r--media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild14
2 files changed, 13 insertions, 8 deletions
diff --git a/media-tv/vdrplugin-rebuild/ChangeLog b/media-tv/vdrplugin-rebuild/ChangeLog
index 9f06f12bd334..a901358b1b7d 100644
--- a/media-tv/vdrplugin-rebuild/ChangeLog
+++ b/media-tv/vdrplugin-rebuild/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-tv/vdrplugin-rebuild
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/vdrplugin-rebuild/ChangeLog,v 1.13 2007/03/13 09:58:49 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/vdrplugin-rebuild/ChangeLog,v 1.14 2007/10/08 14:56:45 zzam Exp $
+
+ 08 Oct 2007; Matthias Schwarzott <zzam@gentoo.org>
+ vdrplugin-rebuild-0.2.ebuild:
+ Block >=media-tv/gentoo-vdr-scripts-0.4.2 as that will absorb
+ vdrplugin-rebuild. Fixed quoting.
13 Mar 2007; Matthias Schwarzott <zzam@gentoo.org>
files/vdrplugin-rebuild-0.2:
diff --git a/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild b/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild
index 5409a1366904..07ed3704366b 100644
--- a/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild
+++ b/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.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/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild,v 1.4 2007/07/13 05:03:57 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild,v 1.5 2007/10/08 14:56:45 zzam Exp $
DESCRIPTION="A utility to rebuild any plugins for vdr which you have installed."
HOMEPAGE="http://www.gentoo.org/"
@@ -11,10 +11,10 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
-DEPEND=""
+RDEPEND="!>=media-tv/gentoo-vdr-scripts-0.4.2"
src_install() {
- newsbin ${FILESDIR}/${P%_rc*} ${PN}
+ newsbin "${FILESDIR}/${P%_rc*}" ${PN}
keepdir /usr/share/vdr/vdrplugin-rebuild
}
@@ -23,11 +23,11 @@ pkg_postinst() {
# populate new database
${ROOT}/usr/sbin/vdrplugin-rebuild populate
- local OLD_DB=${ROOT}/var/lib/vdrplugin-rebuild
- if [[ -d ${OLD_DB} ]]; then
+ local OLD_DB="${ROOT}"/var/lib/vdrplugin-rebuild
+ if [[ -d "${OLD_DB}" ]]; then
elog "Removing old vdrplugindb."
- rm ${OLD_DB}/vdrplugindb*
- rmdir ${OLD_DB}
+ rm "${OLD_DB}"/vdrplugindb*
+ rmdir "${OLD_DB}"
fi
fi
}