diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2009-03-12 02:18:31 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2009-03-12 02:18:31 +0000 |
commit | 839aefbac600cfefe669f3a45e6193f3783c6edd (patch) | |
tree | cf18729ac44e893c3bc001bb8ccd278d88514680 /media-plugins/vdr-burn | |
parent | Version bump (diff) | |
download | gentoo-2-839aefbac600cfefe669f3a45e6193f3783c6edd.tar.gz gentoo-2-839aefbac600cfefe669f3a45e6193f3783c6edd.tar.bz2 gentoo-2-839aefbac600cfefe669f3a45e6193f3783c6edd.zip |
add code-snipe, to make shure BURN_ISODIR is available
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'media-plugins/vdr-burn')
-rw-r--r-- | media-plugins/vdr-burn/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/vdr-burn/files/0.1.0_pre21/rc-addon.sh | 13 |
2 files changed, 17 insertions, 2 deletions
diff --git a/media-plugins/vdr-burn/ChangeLog b/media-plugins/vdr-burn/ChangeLog index 4aff66d9b924..ece1c28494fd 100644 --- a/media-plugins/vdr-burn/ChangeLog +++ b/media-plugins/vdr-burn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/vdr-burn # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.35 2009/03/09 21:34:37 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.36 2009/03/12 02:18:26 hd_brummy Exp $ + + 12 Mar 2009; Joerg Bornkessel <hd_brummy@gentoo.org> + files/0.1.0_pre21/rc-addon.sh: + add code-snipe, to make shure BURN_ISODIR is available 09 Mar 2009; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-burn-0.1.0_pre21-r4.ebuild, vdr-burn-0.1.0_pre21-r5.ebuild: diff --git a/media-plugins/vdr-burn/files/0.1.0_pre21/rc-addon.sh b/media-plugins/vdr-burn/files/0.1.0_pre21/rc-addon.sh index c49cd053d884..db59c4535ce5 100644 --- a/media-plugins/vdr-burn/files/0.1.0_pre21/rc-addon.sh +++ b/media-plugins/vdr-burn/files/0.1.0_pre21/rc-addon.sh @@ -1,4 +1,4 @@ -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/files/0.1.0_pre21/rc-addon.sh,v 1.2 2007/05/22 17:40:56 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/files/0.1.0_pre21/rc-addon.sh,v 1.3 2009/03/12 02:18:31 hd_brummy Exp $ # # rc-addon-script for plugin burn # @@ -11,6 +11,17 @@ : ${BURN_DVDWRITER:=/dev/dvd} : ${BURN_ISODIR:=/var/vdr/video/dvd-images} +# be shure BURN_ISODIR is available! +make_isodir() { +if [ ! -e "${BURN_ISODIR}" ]; then + mkdir "${BURN_ISODIR}" + touch "${BURN_ISODIR}"/.keep.rc-burn + chown -R vdr:vdr "${BURN_IOSDIR}" +fi +} + +make_isodir + plugin_pre_vdr_start() { add_plugin_param "-t ${BURN_TMPDIR}" |