[vdr] 03/12: Only ask to create video directory if /var/lib/video AND /var/lib/video.00 do not exist

Tobias Grimm tiber-guest at moszumanska.debian.org
Sun Aug 30 16:17:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

tiber-guest pushed a commit to branch e-tobi
in repository vdr.

commit 2cdf7749695bab0b2ca8519dbba5fba3ada4dc75
Author: etobi <git at e-tobi.net>
Date:   Fri Aug 7 23:00:32 2015 +0200

    Only ask to create video directory if /var/lib/video AND /var/lib/video.00 do not exist
---
 debian/vdr.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/vdr.config b/debian/vdr.config
index 882eb85..8da56ca 100644
--- a/debian/vdr.config
+++ b/debian/vdr.config
@@ -6,7 +6,7 @@ set -e
 . /usr/share/debconf/confmodule
 
 # ask about creating /var/lib/video
-if [ ! -e /var/lib/video -a ! -L /var/lib/video ]; then
+if [ ! -e /var/lib/video -a ! -L /var/lib/video -a ! -e /var/lib/video.00 -a ! -L /var/lib/video.00 ]; then
     db_input high vdr/create_video_dir || true
     db_go
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr.git



More information about the pkg-vdr-dvb-changes mailing list