From d2a94495fb8fe62ace4a86756a73106701c7c24f Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 20 Apr 2013 22:18:22 +0200 Subject: [PATCH] w_scan: change path to channels.conf for vdr 2.x. --- config/w_scan/w_scan_start | 11 ++++++----- lfs/w_scan | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/config/w_scan/w_scan_start b/config/w_scan/w_scan_start index 324d7f9dd2..91e1a46f6a 100755 --- a/config/w_scan/w_scan_start +++ b/config/w_scan/w_scan_start @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2012 IPFire Team # +# Copyright (C) 2007-2013 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -19,7 +19,8 @@ # # ############################################################################### ############################################################################### -# w_scan_start for IPFire v 1.00 - 2012-11-15 Arne Fitzenreiter - inital vers.# +# w_scan_start for IPFire v 1.01 - 2013-04-20 Arne Fitzenreiter - path vdr 2 # +# - 2012-11-15 Arne Fitzenreiter - inital vers.# ############################################################################### err_msg () @@ -127,9 +128,9 @@ echo Results saved to w_scan-$(date +%Y%m%d%H%M).channels.conf if [ -e /opt/pakfire/db/installed/meta-vdr ]; then yes_no "Install new channels-conf for VDR." # Backup old channels conf... - cp -f /opt/vdr/etc/channels.conf \ - /opt/vdr/etc/channels.conf.backup$(date +%Y%m%d%H%M) - cp -f /tmp/channels.conf /opt/vdr/etc/ + cp -f /etc/vdr/channels.conf \ + /etc/vdr/channels.conf.backup$(date +%Y%m%d%H%M) + cp -f /tmp/channels.conf /etc/vdr/ yes_no "Should i start the VDR?" clear /etc/init.d/vdr start diff --git a/lfs/w_scan b/lfs/w_scan index 7df4b42d85..a18a08a02c 100644 --- a/lfs/w_scan +++ b/lfs/w_scan @@ -33,7 +33,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = w_scan -PAK_VER = 3 +PAK_VER = 4 DEPS = "" -- 2.39.2