vdr: fix old config import.

This commit is contained in:
Arne Fitzenreiter
2013-05-18 16:51:59 +02:00
parent 25023ab9e9
commit 139e30d135

View File

@@ -29,7 +29,7 @@ OLD_DIR="/opt/vdr/etc"
NEW_DIR="/etc/vdr"
for conf in ${OLD_DIR}/*.conf; do
[ -f "${conf}" ] && continue
[ -f "${conf}" ] || continue
conf="$(basename ${conf})"
mv -b "${OLD_DIR}/${conf}" "${NEW_DIR}/${conf}"